tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Roshni Basu <roshni...@gmail.com>
Subject Re: Tomcat Logging level change
Date Thu, 23 Jun 2011 03:25:46 GMT

So what exactly I can use to make it work in 6.0.9?

Konstantin Kolinko wrote:
> 
> 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
> 
> 
> 

-- 
View this message in context: http://old.nabble.com/Tomcat-Logging-level-change-tp31902405p31908461.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


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


Mime
View raw message