httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steve Foster <>
Subject Re: [users@httpd] Rotatelogs and british summertime.
Date Wed, 06 Apr 2011 13:13:45 GMT
You would assume so, but the guidance in the documentation says the

"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 -lin an environment which changes the GMT offset (such as for
BST or DST) can
lead to unpredictable results!"

We used this a while ago and removed it when we realised it didn't work
correctly. Currently setting a TZ variable in startup scripts (/etc/init.d
type scripts) to GMT0BST,M3.5.0/1,M10.5.0/1 results in the right timings
being applied to the access logs in BST , the log rotation is still offset
though. I am not sure whether the TZ variable is being set on the execution
of the rotatelogs script that is spawned from the httpd.

On Wed, Apr 6, 2011 at 1:39 PM, Eric Covener <> wrote:

> > My concern is though that when we switch back to GMT in October that i
> will
> > then have to remove the "+60" from the configuration.
> Isn't that what -l does for you?
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:> for more info.
> To unsubscribe, e-mail:
>   "   from the digest:
> For additional commands, e-mail:

View raw message