Abid Ali Teepo wrote:
Hi

I just added a servlet with logging done by log4j, and it apparently works ok.
But suddenly tomcat has started giving a lot of debug information. The thing is that 
even though i have set the level to info, it gives me tomcat debug.

Is there a setting or something i have awakened by log4j enabling my servlet ?
Where and how can i change this behaviour ?

Are You sure that the logger You set to info is also the logger You write to?

If You use a "control servlet" in a different web application to change
log levels, there is a chance that You have two different instances
of Your logger.

Do You deploy the log4j-lib with the web application or do You have it
in common/lib?
(Putting it in common/lib might solve Your problem)

Kind regards,

Hans


-- Johann Uhrmann xpecto AG | Lindenstrasse 81 | D-84030 Ergolding Telefon: 0700 xpecto 00 (0700 973286 00) Telefax: 0700 xpecto 10 (0700 973286 10) Internet: http://www.xpecto.com


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to