[logback-user] multiple webapps and jmxConfigurator

Ceki Gulcu listid at qos.ch
Wed Oct 29 18:14:27 CET 2008


Hello Jean-Luc,

Each mbean should register with a different object name depending on the logger 
context's name. Unfortunately, that name is probably "default" for both of your 
logback logging context's in each of your two web-applications.

Please create a jira issue mentioning this problem so that we can solve it for 
the next relase.

Jean-Luc Geering wrote:
> Hi All,
> 
> I have multiple webapps deployed in the same tomcat instance, each with 
> it's own logback.xml, and I'm wondering what will happen if I enable the 
> <jmxConfigurator/> for all of them. Will they all share the same 
> Configurator MBean ? Will I be able to configure the log levels for only 
> one of them ?
> 
> Thanks a lot,
> JL
> 
> 
-- 
Ceki Gülcü
Logback: The reliable, generic, fast and flexible logging framework for Java.
http://logback.qos.ch


More information about the Logback-user mailing list