> I'd like to rotate the logs created by James.
> Should james be restarted after the logrotate runs? Logrotate will
> compress and rename the log files. Problem is, will James create new log
> files after the previous ones be renamed?
I think it should be possible to replace the LogTarget to do what you want
without changing James. The Avalon Log package should have some facilities.
Peter Donald is the expert in that area.
One stop gap hack that may work is replace
org.apache.log.output.FileOutputLogTarget with your own file. This is only
based on code inspection, so don't hold me to it. Your file could do the
rotation, zip and create new file etc.
Harmeet
----- Original Message -----
From: "Oki DZ" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, May 15, 2001 5:15 PM
Subject: Logrotate
>
> Hi,
>
> I'd like to rotate the logs created by James.
> Should james be restarted after the logrotate runs? Logrotate will
> compress and rename the log files. Problem is, will James create new log
> files after the previous ones be renamed?
>
> TIA,
> Oki
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]