Configuring tomcat logs

2004-03-01 Thread STOCKHOLM, Raymond
Does anybody know if it is possible to configure tomcat 
to have a RollingFileAppender (as in log4j)
for its log files ?
I had a no space left on device due to too many logs in $TOMCAT/logs

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



RE: Configuring tomcat logs

2004-03-01 Thread Shapira, Yoav

Hi,

Does anybody know if it is possible to configure tomcat
to have a RollingFileAppender (as in log4j)
for its log files ?
I had a no space left on device due to too many logs in $TOMCAT/logs

Tomcat's logs are rotated nightly as you've probably noticed by now.
The catalina.out log is simply a trap for System.out/System.err and is
not rotated regularly by tomcat.  You can set swallowOutput=true on your
contexts to direct System.out/System.err output from them to the context
logs which are rotated, or you can use a 3rd program like cronlog to
rotate your logs.

Tomcat does not support all the configuration options of log4j's
RollingFileAppenders.  It is the server administrator's responsibility
to ensure enough space for logs: this is true for any server-side
program.

Yoav Shapira



This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


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



RE: Configuring tomcat logs

2004-03-01 Thread STOCKHOLM, Raymond
Thank's for the explanation.

-Message d'origine-
De : Shapira, Yoav [mailto:[EMAIL PROTECTED]
Envoyé : lundi 1 mars 2004 15:31
À : Tomcat Users List
Objet : RE: Configuring tomcat logs



Hi,

Does anybody know if it is possible to configure tomcat
to have a RollingFileAppender (as in log4j)
for its log files ?
I had a no space left on device due to too many logs in $TOMCAT/logs

Tomcat's logs are rotated nightly as you've probably noticed by now.
The catalina.out log is simply a trap for System.out/System.err and is
not rotated regularly by tomcat.  You can set swallowOutput=true on your
contexts to direct System.out/System.err output from them to the context
logs which are rotated, or you can use a 3rd program like cronlog to
rotate your logs.

Tomcat does not support all the configuration options of log4j's
RollingFileAppenders.  It is the server administrator's responsibility
to ensure enough space for logs: this is true for any server-side
program.

Yoav Shapira



This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


-
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]