Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 01 Oct 2002 13:16:41 -0400
From:      Jan Knepper <jan@digitaldaemon.com>
To:        Scott Gerhardt <scott@g-it.ca>
Cc:        freebsd-isp@FreeBSD.ORG
Subject:   Re: Rotating Apache Log Files
Message-ID:  <3D99D879.6030202@digitaldaemon.com>
References:  <B9BF2DAA.21A6%scott@g-it.ca>

next in thread | previous in thread | raw e-mail | index | archive | help
In newsyslog.conf
~/httpd.log ... /var/run/httpd.pid
So that newsyslog signals apache to start a new log file...
Jan



Scott Gerhardt wrote:

>Sort of an ISP question:
>
>I'm trying to figure out the best way to rotate apache's log files in
>conjunction with my stats program (webalizer).
>
>I would like to write a script to strip the previous months entries and gzip
>them into a separate file.  This way, my stats program won't miss a beat
>regardless when the logs are rotated (ie sometime in to the next month).
>
>Will modifying the log file affect apache while it is running?
>
>Suggestions?
>
>
>  
>


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isp" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3D99D879.6030202>