httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Lopez <>
Subject Re: rotate logs
Date Thu, 23 May 2002 18:24:48 GMT

CustomLog is an Apache directive, the program that you need is rotatelogs
(as seen on the example that you included) 
The timestamp is included by default, but you can modify take a look at the
following info:

On Thu, May 23, 2002 at 11:22:36AM -0700, Adon Cook wrote:
> Hi.
> I have been trying to figure out how to rotate my logs.  I am a newbie, but 
> i'm confuzed as to where i actually put this script/command/whatever.
> I have read that something like:
> CustomLog "|/usr/local/apache/bin/rotatelogs /var/log/access_log 86400" 
> common
> might work.  But I don't know if i have a CUSTOMLOG program.  Also how do i 
> rename the access_log to include a datestamp that i want?
> A nice simple step by step solution would be GREATLY appreciated.
> -adon
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message