Re: rotatate logs - Apache has anyone got this to rotate at a specific time?
From: Rich Jesse <rjoralist_at_society.servebeer.com>
Date: Fri, 16 Oct 2009 10:40:24 -0500 (CDT)
Message-ID: <c97b77eee8bbd5b8ce93d71078a0f53f.squirrel_at_society.servebeer.com>
Hey Kathy,
Date: Fri, 16 Oct 2009 10:40:24 -0500 (CDT)
Message-ID: <c97b77eee8bbd5b8ce93d71078a0f53f.squirrel_at_society.servebeer.com>
Hey Kathy,
> 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!
Rich
-- http://www.freelists.org/webpage/oracle-lReceived on Fri Oct 16 2009 - 10:40:24 CDT