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 46616] rotatelogs -l uses UTC when calling strftime()
Date Sat, 07 Feb 2009 09:15:03 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=46616


bburette <bburette@noos.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bburette@noos.fr
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID




--- Comment #1 from bburette <bburette@noos.fr>  2009-02-07 01:15:01 PST ---
In the configuration used there "rotatelogs" was running in a chrooted
environment and could not access the files for timezone information so it was
in fact using GMT time instead of localtime in all date/time related stuff.

Adding the proper timezone files to the chrooted environment solved the bug.

Still, the documentation improperly states (and led me to think there was a
bug)

-l
    Causes the use of local time rather than GMT as the base for the interval
or for strftime(3) formatting with size-based rotation. Note that using -l in
an environment which changes the GMT offset (such as for BST or DST) can lead
to unpredictable results!

where I would rather read

-l
    Causes the use of local time rather than GMT as the base for the interval
and for strftime(3) formatting. Using -l in an environment which changes the
GMT offset (such as for BST or DST) is safe.


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

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


Mime
View raw message