title: How can I direct log4j output so that different log levels go to different appenders?
body: <p>Is it possible to have "debug" and "info" output written to the console while the "info" output is only written to some log file?  For example, given this logging:</p>
  
  <pre><code>LOG.debug(fileContent);
  LOG.info(fileLength);
  </code></pre>
  
  <p>What does a corresponding <code>log4j.xml</code> look like?</p>