Tomcat, change webapp to log to its own file.
Posted
by nos
on Server Fault
See other posts from Server Fault
or by nos
Published on 2010-04-24T18:09:42Z
Indexed on
2010/04/24
18:13 UTC
Read the original article
Hit count: 161
I've a webapp that apparently uses the standard java.util.Logging (no log4j or other stuff). Everything is logged under "com.bzsearchj.".
I'm assuming I can configure Tomcat 6, via $CATALINA_HOME/conf/logging.properties to have it log everything under com.bzsearcj. to its own file, bonus if I can make it rotate daily - right now everything gets logged to the catalina-xxx.log
What do I put in the conf/logging.properties to do this ?
© Server Fault or respective owner