I would use logrotate.d which comes with most, if not all, Unix
variants. Type 'man logrotate' for more info. I am not sure if there are
any problems with processing a log file while Tomcat is still running,
though. Can someone else speak to that issue with Tomcat?
Frank Signorelli wrote:
> Hi all,
>
> To prevent logfiles from growing without bound, Apache uses
> the rotatelogs command with the TransferLog directive in
> httpd.conf.
>
> What is the preferred method for rotating log files from
> Tomcat?
>
> Thanks in advance for any advice.
>
>
> Frank
> ---
> Frank L. Signorelli <mailto:[EMAIL PROTECTED]>
> Senior Member of Tech. Staff Telesciences, Inc.
> Telephone: +1.866.1000 x3207 2000 Midlantic Drive
> Suite 410
> Mt Laurel, NJ 08054
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]