title: Log4j:Logs are displying on console but File is not getting updated
body: <p>Here i am using log4j API in standalone application in Netbeans.Logs are getting printed on console but NOT in File.Log4j file is present in the source folder .Please help me!
  Below is the my log4j.properties file</p>
  
  <pre><code>log4j.appender.stdout=org.apache.log4j.ConsoleAppender
  log4j.appender.file.layout.ConversionPattern=%d %5p %c{1}\:%L - %m%n
  log4j.appender.file.File=E:\\Final\\Testing123.log
  log4j.appender.file.layout=org.apache.log4j.PatternLayout
  log4j.appender.file.DatePattern`enter code here`='.'yyyy-MM-dd
  log4j.logger.testing=DEBUG, stdout, file
  log4j.appender.stdout.layout.ConversionPattern=%d %5p %c{1}\:%L - %m%n
  log4j.appender.file=org.apache.log4j.DailyRollingFileAppender
  log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
  log4j.appender.stdout.Target=System.out
  </code></pre>
  
  <p>and below is the class where i am using it.</p>
  
  <pre><code>public class Test {
       protected static  Logger logger = LoggerFactory.getLogger(Testing.class.getName());   
  
       public static void main(String[] args) {
  
           logger.debug("Test Log1");
           Test t = new Test();
           logger.debug("Test Log2");
           //t.setLogPropertyFile();
           logger.debug("Test Log3");
           t.testthis();
           logger.debug("Test Log4");
      }
  
      public void testthis(){
           this.logger.debug("Test Log");
           this.logger.info("Test Log");
           this.logger.warn("Test Log");
           this.logger.error("Test Log");
      }
  </code></pre>