There is no way to tell a receiver to use $today as part of the fileURL.
Not a bad idea, but not supported.  You'd need to modify the chainsaw
config file or symlink the log file to a fixed file name.

If you provide a few sample events I can give you the
logFormat..(multiple lines in log msgs shouldn't be a problem).

Scott 

-----Original Message-----
From: Darren Hartford [mailto:[EMAIL PROTECTED] 
Sent: Monday, November 07, 2005 11:13 AM
To: Log4J Users List
Subject: 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


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

Reply via email to