httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brian Behlendorf <>
Subject Re: Dynamic filenames
Date Thu, 01 Jun 1995 19:20:20 GMT
On Thu, 1 Jun 1995, Brian Tao wrote:
>     At, we've switched to daily log rotation because of the
> high number of accesses to the site.  For statistical purposes, we
> would like to have each log file contain only those entries associated
> with one particular day.  Unfortunately, cron jobs don't always run on
> time, and we end up having bits and pieces of the following day (or
> the previous day) in the file.

A well designed perl script will handle this without a problem - and a 
smart one will be very fast for this particular application (read from 
the beginning and end of the file for discrepencies).


--=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--  http://www.[hyperreal,organic].com/

View raw message