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 08:49:23 GMT

Do i need to make any chnages in the logging.properties file?
I tried making everything from FINE to WARNING and also i tried adding
org.apache.catalina.level=WARNING in the logging.properties, it somehow
worked. But Is this the way it should behave or we need to make changes in
my java code as well using that LogManager etc. Could you help me?

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-tp31902405p31909658.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