You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-user@logging.apache.org by Darren Hartford <dh...@ghsinc.com> on 2005/11/07 20:13:18 UTC
Chainsaw with Tomcat logfile
Hey all,
Using Scott's example jboss-logfile-chainsaw-config.xml with my Jboss
3.0/3.23/4.0 app servers with great success! So great, wondering how we
can use the same tool with Tomcat!
Well, ran into a little issue with Tomcat 5.5.9. The log file, by
default, uses a 'date' in the filename (catalina.2005-11-07.log) and the
log file format itself is two-lined:
================
Nov 7, 2005 1:34:57 PM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
============
I spotted this on the mailing list, but this doesn't seem to be working:
<param name="logFormat" value="TIMESTAMP LEVEL(FILE:LINE)#CLASS,LOGGER
THREAD!MESSAGE"/>
Tried changing to match the logfile, but no success yet so checking if
anyone has a working config for Tomcat 5.5.9.
I tried taking a look at the tomcat/commons/classes/logging.properties
file but I'm a little weak as to what may be best to re-configure for
something that would work well with Chainsaw. Are there any
recommendations for 1. The filename and 2. the file format?
Thanks,
-D
---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-user-help@logging.apache.org