title: How do I resolve this " No such property [target] in org.apache.log4j.FileAppender" and "No output stream or file set for the appender named" error?
body: <p>I managed to get log4J with ConsoleAppender to work in Eclipse, but when I change the appender to be FileAppender  then I get these red error messages coming out(even though I altered the properties file as directed by this <a href="http://www.youtube.com/watch?v=E6NhHDUCNQY" rel="nofollow noreferrer">tutorial</a>) :</p>
  <pre><code>log4j:WARN No such property [target] in org.apache.log4j.FileAppender.
  log4j:WARN File option not set for appender [file].
  log4j:WARN Are you using FileAppender instead of ConsoleAppender?
  log4j:ERROR No output stream or file set for the appender named [file].
  </code></pre>
  <p>Here is a pic<img src="https://i.stack.imgur.com/GB29D.png" alt="enter image description here" /></p>
  <p>Thank You Very Much</p>