title: webapp start with log4j debug before load log4j.properties
body: <p>I use log4j since 2010. Great tool.
  In a new software I imported the same configuration and libs, but at deploy the app start with logging level DEBUG (but I haven't set the debug level).
  <strong>It logs all struts2 and hibernate configuration (about 500 lines)!</strong>
  After hibernate and struts2 start-up, finally, the software call the init method and sets the loggin level at ERROR. (and all works good)</p>
  
  <p><em>I don't like this behaviour: I'd like to have all log immediately at ERROR level.
  In all my other softwares it works fine.</em></p>
  
  <hr>
  
  <p>I was used to this standard configuration:
  I load the log4j.properties in a servlet in the init method, in the web.xml I use this (I tried also with 0 and -1):</p>
  
  <pre><code>&lt;load-on-startup&gt;1&lt;/load-on-startup&gt;
  </code></pre>
  
  <p>Init method of the servlet</p>
  
  <pre><code>@Override
      public void init() {
         PropertyConfigurator.configure(log4j_address);
  }
  </code></pre>
  
  <p>Here is the log4j.properties:</p>
  
  <pre><code>log4j.rootCategory=error, stdout
  log4j.logger.org=error
  log4j.logger.com=error
  log4j.appender.stdout=org.apache.log4j.ConsoleAppender
  log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
  log4j.appender.stdout.layout.ConversionPattern=%7p %d{DATE} %-20F:%3L - %m%n
  </code></pre>