httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brian Dessent <br...@dessent.net>
Subject Re: [users@httpd] alternative to cronolog
Date Tue, 04 Nov 2003 19:53:44 GMT
Saqib Ali wrote:
> 
> Hello All,
> 
> I am looking for some alternatives to cronolog. Anyone has any ideas?
> Basically I just want to rotate logs on a daily basis.

I like httplog:
<http://nutbar.chemlab.org/downloads/programs/httplog-2.1.tar.gz>

It runs as an output filter, e.g. 

CustomLog "|/usr/local/bin/httplog /var/log/foobar-%Y%m%d" custom

It takes strftime(3) parameters in the filename.  It can also
automatically gzip the previous log file when a new one rolls over, and
maintain a symlink to the current log.  All without any cron jobs or
Apache restarting.

Brian

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message