httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 24417] - [PATCH] rotatelogs with local time (including DST) functionality
Date Wed, 26 Nov 2003 19:44:22 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24417>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24417

[PATCH] rotatelogs with local time (including DST) functionality





------- Additional Comments From uli@ritual.org  2003-11-26 19:44 -------
Chris wrote:
> I also updated the documentation in my patch to note that it does not affect
> the log rotation time math (i.e. if you say "86400", it will still be rotated at
> 00:00:00 UTC);

But that's exactly the behavior I wanted to avoid because it makes syncing with cron jobs
so 
difficult.

> What I do is set my log rotation time to be 3600, and then
> use a filename like "access_log.%Y-%m-%d" (so it re-determines the filename
> every hour, but it only changes at 00:00:00 local time).

Which is kind of confusing. If you plan to rotate once a day, 86400 should work for you, even
if you 
use the "local" option.

> I did it this way because the patch is much simpler (more likely to be
> acceptable)

Well, my patch isn't *that* complicated, is it? And it does exactly what it should, in an
intuitive way. 
I think the foremost consideration should be what is simple for the *user*.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message