How to re-config/customize tomcat 4's loggers

2003-10-03 Thread Bing Zhang

Hi all:
We recently installed Tomcat 4.1.24, but we want to change The Logger
Component configuration, the reason is that we want all the catalina log or
access log to use one file per purpose,  but the default file logger from
Catalina, org.apache.catalina.logger.FileLogger, will use a new file every
day.   
Is there anyway we can configure tomcat to use some other off the shelf
logger class, so that it would only use one file per purpose.   Thanks a
lot. 
Bing



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



Re: How to re-config/customize tomcat 4's loggers

2003-10-03 Thread Tim Funk
The access logs have a property called rotatable to prevent nightly log 
rotation. (I think in 4.1.27) You can also set the date format too if desired.

As for the FileLoggers you are sol :( without extending FileLogger

-Tim

Bing Zhang wrote:
Hi all:
We recently installed Tomcat 4.1.24, but we want to change The Logger
Component configuration, the reason is that we want all the catalina log or
access log to use one file per purpose,  but the default file logger from
Catalina, org.apache.catalina.logger.FileLogger, will use a new file every
day.   
Is there anyway we can configure tomcat to use some other off the shelf
logger class, so that it would only use one file per purpose.   Thanks a
lot. 
Bing


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