Re: [EMAIL PROTECTED] Apache Log File 2GB

2008-06-03 Thread howard chen
On Tue, Jun 3, 2008 at 11:28 PM, Stusynski, Dan <[EMAIL PROTECTED]> wrote: > To rotate the logs you can use Apaches piped rotatelogs: > > http://httpd.apache.org/docs/2.2/programs/rotatelogs.html > > Put something like the following in your httpd.conf (or whereever your > logging is define), 'Cust

Re: [EMAIL PROTECTED] Apache Log File 2GB

2008-06-03 Thread Victor Trac
On Tue, Jun 3, 2008 at 5:09 PM, Andre Hübner <[EMAIL PROTECTED]> wrote: > Hi List, > > i have access_logs >2GB and Apache 2.2.8 want restart in correct way. Is > there a hint to let LogFiles grow larger or is the only way to rotate at > reaching 2GB? > > Thank you > Andre > > What is the advantage

RE: [EMAIL PROTECTED] Apache Log File 2GB

2008-06-03 Thread Stusynski, Dan
To rotate the logs you can use Apaches piped rotatelogs: http://httpd.apache.org/docs/2.2/programs/rotatelogs.html Put something like the following in your httpd.conf (or whereever your logging is define), 'CustomLog "| /bin/rotatelogs -l /logs/access_log%Y-%m-%d_%H_%M_%S 2048M" custom' That