tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Caldarale, Charles R" <Chuck.Caldar...@unisys.com>
Subject RE: tomcat logs under windows
Date Wed, 13 Dec 2006 23:37:47 GMT
> From: "sb4" <simonbaker4@hotmail.com>
> Subject: tomcat logs under windows
> 
> Is there a place to specify the form of log file names?

Take a look at the doc:
http://tomcat.apache.org/tomcat-5.5-doc/logging.html

By default, Tomcat 5.5 uses a mechanism named JULI to handle logging,
and that appears to always generate the date as part of the file name.
(One advantage of doing so is that the file rolls over to a new name at
midnight and does not grow indefinitely.)

It looks like you would need to configure log4j instead in order to
control the format of the log file name.  Haven't used it with Tomcat,
but it seems to work as advertised in JBoss.

 - 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 start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message