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: Being certain that log has rotated



On Mon, May 12, 2003 at 01:01:35PM -0600, Alan Sparks wrote:
> which is easy.  But it appears that the log will not be rotated until
> the next log line is written.  Would seem that if there is some server
I've noticed the same behaviour.  The server in question is
usually pretty idle, so I've wrote a small Perl script which
simply sends a HTTP GET request (to make sure the log is ro-
tated) in advance of moving yesterdays log away.
You may use similiar tools like the GET command from LWP or
some such. 
Cheers,
-sascha

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