[logback-user] Problem with ViewStatusMessagesServlet

Neil Chaudhuri nchaudhuri at potomacfusion.com
Wed Jan 26 00:17:33 CET 2011

Given the following configuration excerpt:

context.name = "myapp"
appender("CONSOLE", ConsoleAppender) {
  encoder(PatternLayoutEncoder) {
    pattern = "%d{HH:mm:ss,SSS} %-5p [%c{1}.%M] %m%n"
appender("FILE", FileAppender) {
  file = "target/csi.log"
  encoder(PatternLayoutEncoder) {
    pattern = "%d{HH:mm:ss,SSS} %-5p [%c{1}.%M] %m%n"
logger("com.myapp", DEBUG)
logger("org.jboss.resteasy", DEBUG)
root(WARN, ["FILE", "CONSOLE"])

I am finding that the ViewStatusMessagesServlet is outputting neither "myapp" as the context name (still uses "default") nor any of my application log messages. So nothing from com.myapp or org.jboss.resteasy is coming up.

Here is the configuration in web.xml:


I would appreciate some insight into what's wrong with my configuration.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://qos.ch/pipermail/logback-user/attachments/20110125/3f8fdf2a/attachment-0001.html>

More information about the Logback-user mailing list