title: Filter log4j appender to only include messages from class
body: <p>I am trying to create a log4j file appender that includes only messages for a specific class.  Here is an example message:</p>
  
  <p>2015-08-06 16:41:43,773 [pool-3-thread-8] INFO  ACME.log- new test message</p>
  
  <p>Where I want all log messages for ACME.log to go to a specific appender.  Here is code I currently have in properties file that is not working.</p>
  
  <pre><code>log4j.appender.myLog = org.apache.log4j.DailyRollingFileAppender
  log4j.appender.myLog.File = /opt/netiq/idm/apps/tomcat/logs/acme.log
  log4j.appender.myLog.layout = org.apache.log4j.PatternLayout
  log4j.appender.myLog.layout.ConversionPattern = %d{yyyy-MM-dd HH:mm:ss} %-5p %m%n
  log4j.appender.myLog.filter.filter.ID=ACME.log
  log4j.appender.myLog.filter.ID.levelMin=INFO
  log4j.appender.myLog.filter.ID.levelMax=ERROR
  log4j.appender.myLog.filter.2 = org.apache.log4j.varia.DenyAllFilter
  </code></pre>