title: Log Level per appender for a single Logger
body: <p>Is it possible to configure different log levels for a single Logger based on the appender?</p>
  
  <p>I realize this is similar to this <a href="https://stackoverflow.com/questions/1839647/how-to-configure-log4j-to-log-different-log-levels-to-different-files-for-the-sam">question</a>, and this is as far as I had already got myself, but the problem with this is that the threshold applies to all loggers that log to that appender, whereas I only want the threshold to apply to a single logger.</p>
  
  <p>i.e. So far I have something like this:</p>
  
  <pre><code>log4j.rootLogger=WARN, stdout
  
  log4j.appender.stdout=org.apache.log4j.ConsoleAppender
  log4j.appender.stdout.Threshold=WARN
  log4j.appender.stdout.layout=org.apache.log4j.SimpleLayout
  
  log4j.logger.mylogger=DEBUG,logfile
  log4j.appender.logfile=org.apache.log4j.DailyRollingFileAppender
  log4j.appender.logfile.DatePattern=${roll.pattern.daily}
  log4j.appender.logfile.layout=org.apache.log4j.PatternLayout
  log4j.appender.logfile.layout.ConversionPattern=%d{${datestamp}} [%t] %-5p %C{2} - %m%n
  log4j.appender.logfile.File=mylogfile.log
  </code></pre>
  
  <p>I want <strong>mylogger</strong> DEBUG messages to be send to the <strong>logfile</strong> appender, but I also want <strong>mylogger</strong> INFO messages to be sent to the <strong>stdout</strong> appender (but for all other loggers only WARN ings). Using the Threshold to limit stdout to WARN restricts the output of <strong>mylogger</strong>.</p>