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: Freaky Stuff: logging to rotated files



>> Ok, the problem seems to be that a thread of apache is screwed up at some
>> point and doesn't restart for some reason.
>> If I run a restart on the server, there is some thread that doesn't die and
>> I have to use a kill -9 (kill itself doesn't kill it). I don't understand
>> why something like this would happen but this thread continues to log to old
>> rotated files.
>> Any ideas?
>> This seems to be some apache issue on Solaris OS though.
>> > This is very weird and I am lost:
>> > It seems to me that cronolog seems to be logging to rotated files instead
>> of
>> > the new ones.

Drop an exec in your log file configs.  This fixed the problem for me.

for example:

ErrorLog "|exec /path/to/cronolog/sbin/cronolog /path/to/logs/error.log"

-Raymond


>> > I am running Apache 1.3.20 with mod_ssl,mod_php4 (4.0.6), and mod_gzip.
>> > Could mod_gzip be conflicting? well, any ideas are welcome. If you've ever
>> > experienced this, I would really appreciate feedback.


-----
Raymond Popowich
popowich@xxxxxxxxxxxxxx



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