2011/6/22 Roshni Basu <[email protected]>:
>
>  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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to