title: how to write different information to two different files using same logger of log4j?
body: <p>I'd like to write to two different files using my logger, which is declared like this:</p>
  
  <pre><code>public static final Logger logger = Logger.getLogger(Adapt.class);
  PropertyConfigurator.configure("log4j.properties");
  </code></pre>
  
  <p>the file log4j contains:</p>
  
  <pre><code>log4j.rootLogger=DEBUG, FA
  
  #File Appender
  log4j.appender.FA=org.apache.log4j.FileAppender
  log4j.appender.FA.File=temp.ppr
  log4j.appender.FA.layout=org.apache.log4j.PatternLayout
  log4j.appender.FA.append=false
  log4j.appender.FA.layout.ConversionPattern= %m%n
  </code></pre>
  
  <p>Is it possible at all to use logger to write different text to two different files easily?</p>
  
  <p>If not, is there a way to do that with two loggers? (I tried that and got problems because of the function configure which is static.)</p>
  
  <p>Thanks.</p>