Hi,
I'm a bit confused about logback-access usage...
I'm using Tomcat 6.0.29 and logback 0.9.26, i've followed instructions
http://logback.qos.ch/access.html to get HTTP logs...however all i got is
just logback status messages
1) Do i need to put a logback-access.xml in my servlet ? (for now it's just
in tomcat/conf/ )
2) How should i configure logback so that my servlet logs will show in the
logback servlet ?

my logback-access.xml :

<configuration>
  <!-- always a good activate OnConsoleStatusListener -->
  <statusListener
class="ch.qos.logback.core.status.OnConsoleStatusListener" />

  <appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
    <encoder>
      <pattern>%h %l %u %user %date "%r" %s %b</pattern>
    </encoder>
  </appender>

  <appender-ref ref="STDOUT" />
</configuration>



Thanxs,
Max
_______________________________________________
Logback-user mailing list
[email protected]
http://qos.ch/mailman/listinfo/logback-user

Reply via email to