> From: Johan Martinez [mailto:jmart...@gmail.com] > Subject: newbie logging question: JULI or log4j or both? > > I am a developer and new to tomcat administration.
Tomcat version? JVM version? Platform? (Always provide the basics when making inquiries.) > How do I find out if I am using JULI or log4j for logging? Tomcat logging and webapp logging are independent; you may well be using both, perhaps JULI for Tomcat and log4j for one or more webapps. Where are the configuration files located? > Also, I see logs in catalina.out and tomcat.log. Standard, supported versions of Tomcat do not normally produce any file named "tomcat.log"; if you've got one, someone has fiddled with the default logging configuration, or you're running a 3rd-party repackaged version of Tomcat. The catalina.out file is usually just a redirection of stdout and stderr, and normally only appears on Linux/UNIX systems. If webapps are writing to it, then the authors of the webapp were too lazy to utilize a proper logging mechanism. > I would like to customise it with DailyRollingFile, but I don't > see it mentioned anywhere. Look in the startup script you're using to get Tomcat running. You might want to read through the FAQ entries on logging: http://wiki.apache.org/tomcat/FAQ/Logging - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org