httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan Kalu┼ża <>
Subject [PATCH] New rotatelogs option to create empty logs
Date Tue, 11 Oct 2011 08:52:13 GMT

attached patch against trunk adds new rotatelogs option "-c" to create 
logs after tRotation time even if there are no messages to log during 
tRotation time. This is achieved by calling apr_poll() on stdin with 
proper timeout before apr_file_read (which blocks until there are some 
data on stdin).

This feature is useful when logs are processed automatically and missing 
logs add additional complexity to these activities. It can also help in 
situation when one doesn't know if missing log means some problem or 
there just wasn't anything to log.

Thanks for reviewing,
Jan Kaluza

View raw message