cronolog.org
flexible web log rotation
HOME
DOWNLOAD
FEATURES
USAGE
FAQ
BLOG
KNOWN BUGS
SECURITY
PATCHES
USERS
TO DO
HISTORY
LINKS
FEEDBACK
MAILING LIST
ADVERTISING

support cronolog development



Google   HELP


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CRONOLOG: sync with cron scripts



Tuc wrote:
> >
> > Can cronolog be forced in some way to rotate the logs at midnight whether
> > there is traffic or not?
> >
>         Run a script at 0 0 * * * * that sleeps for a few seconds, runs a
> lynx/GET/wget to dump the main page to /dev/null, and exit. A tad of a kludge,
> but it works!  (We rotate logs hourly for a customer)
>
>                 Tuc/TTSG Internet Services, Inc.
whats with:
"...
CustomLog "| /path/cronolog /path2logs/access_log.%Y%m%d%H" combined
..."
in httpd.conf?
(we use ...access_log.%Y%m... for automatic monthly rotated log-files ... works)
Axel

Copyright © 1996-2010 Andrew Ford and Ford & Mason Ltd