I don't typically use the XML format for my log config, but that looks right.  Are you sure it's loading that configuration file?<div>  (*Chris*)<br><br><div class="gmail_quote">On Wed, Oct 10, 2012 at 4:29 PM, Dan Franks <span dir="ltr"><<a href="mailto:dan.franks@gmail.com" target="_blank">dan.franks@gmail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I was trying this but then all the logging from all the classes wrote<br>
to all the files.<br>
<br>
<br>
<?xml version="1.0" encoding="UTF-8"?><br>
<br>
<configuration scan="true" scanPeriod="30 seconds"><br>
<br>
<br>
      <appender name="com.myCompany.orangeClassFileAppender"<br>
class="ch.qos.logback.core.rolling.RollingFileAppender"><br>
      <append>true</append><br>
      <filter class="ch.qos.logback.classic.filter.ThresholdFilter"><br>
        <level>info</level><br>
      </filter><br>
      <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy"><br>
        <fileNamePattern>c.m.orangeClass.%d{yyyy-MM-dd}</fileNamePattern><br>
      </rollingPolicy><br>
<br>
              <layout class="ch.qos.logback.classic.PatternLayout"><br>
          <pattern>%d{yyyy-MM-dd HH:mm:ss}, %p, %c, %t, %C{1}, %M %m%n</pattern><br>
        </layout><br>
                </appender><br>
<br>
<br>
<br>
<br>
<br>
<br>
      <appender name="com.myCompany.purpleClassFileAppender"<br>
class="ch.qos.logback.core.rolling.RollingFileAppender"><br>
      <append>true</append><br>
      <filter class="ch.qos.logback.classic.filter.ThresholdFilter"><br>
        <level>info</level><br>
      </filter><br>
      <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy"><br>
        <fileNamePattern>c.m.purpleClass.%d{yyyy-MM-dd}</fileNamePattern><br>
      </rollingPolicy><br>
<br>
              <layout class="ch.qos.logback.classic.PatternLayout"><br>
          <pattern>%d{yyyy-MM-dd HH:mm:ss}, %p, %c, %t, %C{1}, %M %m%n</pattern><br>
        </layout><br>
                </appender><br>
<br>
<br>
<br>
<br>
<br>
<br>
      <appender name="com.myCompany.greenClassFileAppender"<br>
class="ch.qos.logback.core.rolling.RollingFileAppender"><br>
      <append>true</append><br>
      <filter class="ch.qos.logback.classic.filter.ThresholdFilter"><br>
        <level>debug</level><br>
      </filter><br>
      <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy"><br>
        <fileNamePattern>c.m.greenClass.Loader.%d{yyyy-MM-dd}</fileNamePattern><br>
      </rollingPolicy><br>
<br>
              <layout class="ch.qos.logback.classic.PatternLayout"><br>
          <pattern>%d{yyyy-MM-dd HH:mm:ss}, %p, %c, %t, %C{1}, %M %m%n</pattern><br>
        </layout><br>
                </appender><br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
  <appender name="RootFileAppender"<br>
class="ch.qos.logback.core.rolling.RollingFileAppender"><br>
    <append>true</append><br>
    <filter class="ch.qos.logback.classic.filter.ThresholdFilter"><br>
      <level>info</level><br>
    </filter><br>
    <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy"><br>
      <fileNamePattern>c.m.default.%d{yyyy-MM-dd}</fileNamePattern><br>
    </rollingPolicy><br>
<br>
          <layout class="ch.qos.logback.classic.PatternLayout"><br>
        <pattern>%d{yyyy-MM-dd HH:mm:ss}, %p, %c, %t, %C{1}, %M %m%n</pattern><br>
      </layout><br>
          </appender><br>
<br>
<br>
<br>
<br>
<br>
 <logger additivity="false" name="com.myCompany.orangeClass"><br>
 <level value="info"/><br>
    <appender-ref ref="com.myCompany.orangeClassFileAppender"/><br>
     </logger><br>
 <logger additivity="false" name="com.myCompany.purpleClass"><br>
 <level value="info"/><br>
    <appender-ref ref="com.myCompany.purpleClassFileAppender"/><br>
     </logger><br>
 <logger additivity="false" name="com.myCompany.greenClass"><br>
 <level value="debug"/><br>
    <appender-ref ref="com.myCompany.greenClassFileAppender"/><br>
     </logger><br>
<br>
<root><level value="info"/><br>
    <appender-ref ref="RootFileAppender"/><br>
    </root><br>
<br>
</configuration><br>
<div class="HOEnZb"><div class="h5">_______________________________________________<br>
Logback-user mailing list<br>
<a href="mailto:Logback-user@qos.ch">Logback-user@qos.ch</a><br>
<a href="http://mailman.qos.ch/mailman/listinfo/logback-user" target="_blank">http://mailman.qos.ch/mailman/listinfo/logback-user</a><br>
</div></div></blockquote></div><br></div>