[logback-user] Problem with ViewStatusMessagesServlet
Maxime Carpentier
carpentier.max at gmail.com
Mon Jan 31 11:37:58 CET 2011
Hi,
I've tried to follow online tutorial http://logback.qos.ch/access.html to
view status message on ViewStatusMessagesServlet, but it keep saying "Could
not find status manager" on the servlet's page...am i missing something ?
i'm using logback 0.9.26, with maven/jetty plugin (exactly like
logback-demo)
my config :
web-inf.xml :
<servlet>
<servlet-name>AccessViewStatusMessages</servlet-name>
<servlet-class>ch.qos.logback.access.ViewStatusMessagesServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>AccessViewStatusMessages</servlet-name>
<url-pattern>/lbAccessStatus</url-pattern>
</servlet-mapping>
logback-acess.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 for your help,
Max
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://qos.ch/pipermail/logback-user/attachments/20110131/a4405248/attachment.html>
More information about the Logback-user
mailing list