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: apache restart hangs with cronolog



> From: Victor <victord@xxxxxxxx>
> 
> If you search the archives, this issue was discussed a few times. It seems
> to be the way cronolog is exec'ed by apache. I think Apache 2.0 doesn't have
> this issue.
> 
> Anyway, this even exists as a bug report in Apache but has never been
> addressed.
> 
> Try this: add "exec" after pipe
> 
> Example:
> ErrorLog "|exec /usr/local/cronolog/sbin/cronolog \
>                 /var/log/apache/hostname_error.%Y%m%d"
It works like a charm! Thanks a lot.
cheers,
--
Staf Wagemakers
email:          staf.wagemakers@xxxxxxxxxxx
homepage:       http://staf.patat.org

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