title: Log4j different appenders for different log levels using properties file
body: <p>Since the official documentation for log4j is a <a href="http://logging.apache.org/log4j/docs/documentation.html" rel="noreferrer">broken link</a>, and the getting started guide isn't helping me, I would like to know how to use two appenders with different log levels for the same logger, using a <code>.properties</code> file instead of an <code>.xml</code> one.</p>
  
  <p>For example, like this:</p>
  
  <pre><code>log4j.rootLogger=debug,  APPENDER_FILE, APPENDER_STDOUT
  </code></pre>
  
  <p>I'm logging with two different appenders, but on the same log level (<code>DEBUG</code>). I would like to use an <code>INFO</code> log level for <code>APPENDER_STDOUT</code>, and a<code>DEBUG</code> log level for <code>APPENDER_FILE</code>.</p>
  
  <p>My question is similar to <a href="https://stackoverflow.com/questions/751431/how-can-i-direct-log4j-output-so-that-different-log-levels-go-to-different-appen">this</a>, but unlike that question, I'm using the <code>log4j.properties</code> file, not the xml file.</p>