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]

CRONOLOG: Freaky Stuff: logging to rotated files



Victor writes:
 > 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.
 > 
 > [snip]
 > -rw-r--r-- root root  6141644 Oct 23 23:59
 > com.site.www_access_log_2001_10_23
 > -rw-r--r-- root root  7340651 Oct 24 23:59
 > com.site.www_access_log_2001_10_24
 > -rw-r--r-- root root 11061241 Oct 29 10:26
 > com.site.www_access_log_2001_10_25
 > -rw-r--r-- root root  4775587 Oct 26 23:59
 > com.site.www_access_log_2001_10_26
 > -rw-r--r-- root root  2709228 Oct 27 23:59
 > com.site.www_access_log_2001_10_27
 > -rw-r--r-- root root  3149105 Oct 28 23:59
 > com.site.www_access_log_2001_10_28
 > -rw-r--r-- root root   992569 Oct 29 10:26
 > com.site.www_access_log_2001_10_29
 > -rw-r--r-- root root    35773 Oct 29 10:26 com.site.www_errors_log
 > 
 > As you can see from the dates, the log for 25th is modified on 29th. Any
 > idea why this is going on?
What version of cronolog are you using?  Does the period of 25th-29th
October span a change in Daylight Saving Time in your timezone?  What
timezone are you in?  I seem to remember some problems way back with
DST, but I thought I had fixed them.  As a workaround I suggest you
restart Apache and see if the problem reoccurs.
 > This is all ofcourse on the dreaded Solaris platform 2.7 with latest
 > patches. So I am nost sure WTF is going on. What can I do to find the cause
 > of this? Anything? Any idea what could be causing this? I don't understand
 > why it would be writing to rotated logs but indeed many logs for 29th are in
 > com.site.www_access_log_2001_10_25. What did I do to deserve this?
 > 
 > 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.
The other modules should not conflict -- the coupling between Apache
and cronolog is purely via a pipe.
Regards
Andrew
-- 
Andrew Ford,  Director       Ford & Mason Ltd             Tel: +44 1531 829900
A.Ford@xxxxxxxxxxxxxxxx      South Wing, Compton House    Fax: +44 1531 829901
http://ford-mason.co.uk      Compton Green, Redmarley  Mobile: +44 7785 258278
http://pauntley-press.co.uk  Gloucester, GL19 3JB
http://refcards.com          Great Britain

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