title: how to make log4j to write to the console as well
body: <p>Is there any way to tell to log4j to write its log to the file and to the console?
  thanks
  there are my properties:</p>
  
  <pre><code>log4j.rootLogger=DEBUG,console,R
  log4j.rootLogger=INFO, FILE
  
  log4j.appender.CONSOLE=org.apache.log4j.ConsoleAppender
  log4j.appender.CONSOLE.Target=System.out
  log4j.appender.CONSOLE.layout=org.apache.log4j.PatternLayout
  log4j.appender.CONSOLE.layout.conversionPattern=%d{yyyy-MM-dd HH:mm:ss,SSS} %-5p - %m%n
  
  log4j.appender.FILE=org.apache.log4j.RollingFileAppender
  log4j.appender.FILE.File=log4j.log
  log4j.appender.FILE.MaxFileSize=512KB
  log4j.appender.FILE.MaxBackupIndex=3
  log4j.appender.FILE.layout=org.apache.log4j.PatternLayout
  log4j.appender.FILE.layout.conversionPattern=%d{yyyy-MM-dd HH:mm:ss,SSS} %-5p - %m%n
  </code></pre>