LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Tomcat logging (https://www.linuxquestions.org/questions/linux-server-73/tomcat-logging-830099/)

yoachan 09-03-2010 01:57 AM

Tomcat logging
 
Dear all,

Currently my tomcat generating a huge log.
I notice that tomcat log (almost) everything at catalina.log, include FINE, INFO, SEVERE.

My question is, is there any config that I can set so that I will only get SEVERE (and WARNING), and ignore (not logging) FINE, INFO?

I've been googling, but still found no answer...

any help appreciated.

regards,

yoachan

unSpawn 09-03-2010 06:00 AM

See http://wiki.apache.org/tomcat/FAQ/Logging ?

yoachan 09-05-2010 10:34 AM

Quote:

Originally Posted by unSpawn (Post 4086926)

I think there is no easy way to success. I've read that page before, but because you lead me there again I read it three or four more time and it lead me to http://tomcat.apache.org/tomcat-6.0-doc/logging.html.

change
Code:

1catalina.org.apache.juli.FileHandler.level = FINE
to

Code:

1catalina.org.apache.juli.FileHandler.level = WARNING
and it seems to be working. not sure though.

thanks for your help :)

regards,

yoachan


All times are GMT -5. The time now is 12:04 PM.