tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Konstantin Kolinko <knst.koli...@gmail.com>
Subject Re: Tomcat Logging level change
Date Wed, 22 Jun 2011 16:53:10 GMT
2011/6/22 Roshni Basu <roshniblr@gmail.com>:
>
>  Tomcat version is 6.0.9.

You know, 6.0.32 is out there...
http://tomcat.apache.org/security-6.html

> Here is my snippet of code:
>
> LogManager logManager = LogManager.getLogManager();
>        Enumeration<String> e = logManager.getLoggerNames();

It won't work, because the LogManager implementation used by Tomcat
(see docs for details) provides isolation for different webapps (class
loaders).

You code will affect only single webapp, and will have zero effect on
anything else.

Best regards,
Konstantin Kolinko

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message