Re: rotatate logs - Apache has anyone got this to rotate at a specific time?
Date: Fri, 16 Oct 2009 09:53:37 -0700 (PDT)
I am using the rotatelog function via Linux and it works.
I have looked and the doc Rich mentioned as well as others
I can't shutdown the services to rotate the logs.
I have tried the CustomLog as well
CustomLog is for the Acces_log and Errorlog works for the error_log
the issue is with trying to get the rotation to occur at midnight.
- On Fri, 10/16/09, Rich Jesse <rjoralist_at_society.servebeer.com> wrote:
From: Rich Jesse <rjoralist_at_society.servebeer.com>
Subject: Re: rotatate logs - Apache has anyone got this to rotate at a specific time?
Date: Friday, October 16, 2009, 10:40 AM
> I am using the rotatelog function for my Apache logs. > > ErrorLog "|/u01/Apache/Apache/bin/rotatelogs > /u01/app/oracle/product/sso10g/Apache/Apache/logs/error_log.%Y%m%d 86400"
My kneejerk would be to use the CustomLog directive instead of ErrorLog as noted here: http://httpd.apache.org/docs/2.2/programs/rotatelogs.html
As always, test first! GL!
RichReceived on Fri Oct 16 2009 - 11:53:37 CDT