title: Log4j logfile error FileNotFoundException
body: <p>I am trying to write a log4j logfile using Netbeans Java. I succeded writing the log file to C:\tmp\log.txt , but for some reason i have no premission to write it at the root of my project : log.txt.</p>
  
  <p>This is my log4j.properties:</p>
  
  <pre><code>log4j.rootLogger = all, FILE
  # Define the file appender
  log4j.appender.FILE=org.apache.log4j.FileAppender
  log4j.appender.FILE.File=log.txt &lt;- failes
  
  # Define the layout for file appender
  log4j.appender.FILE.layout=org.apache.log4j.PatternLayout
  log4j.appender.FILE.layout.ConversionPattern=[%5p](%F:%L) %m%n
  log4j.appender.FILE.Append=false
  </code></pre>