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 [EMAIL PROTECTED]  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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to