Page 1 of 1

Log Timestamp error

Posted: Wed Jul 27, 2011 7:29 am
by Noelb
The timestamps in the logs change in certain conditions to UTC -0500, our TZ is +10
Apache logs correct timestamps for all other sites, including a forum, in serendipity it logs correct time " most of the time" often in Admin and if on main page, clicking on the header, ie " FooBar's Blog " it logs as
UTC -5, can also be reproduced by in admin section clicking on weblog.

Something is altering TZ, as to where it gets UTC -5 from is a mystery.
We have even forced date.timezone in php.ini.

The time offset setting in configuration is default 0.
We don't use mod rewrite or do anything fancy...


[27/Jul/2011:15:05:28 +1000] "GET /noel/serendipity_admin.php HTTP/1.1" 200 11865
[27/Jul/2011:15:05:45 +1000] "GET /noel/serendipity_admin.php HTTP/1.1" 200 11865
[27/Jul/2011:00:14:05 -0500] "GET /noel/ HTTP/1.1" 200 42115
[27/Jul/2011:15:14:10 +1000] "GET /noel/index.php?/admin HTTP/1.1" 302
[27/Jul/2011:15:14:10 +1000] "GET /noel/serendipity_admin.php HTTP/1.1" 200
[27/Jul/2011:00:14:34 -0500] "GET /noel/ HTTP/1.1" 200 42115

etc.....

Re: Log Timestamp error

Posted: Fri Jul 29, 2011 2:00 pm
by garvinhicking
Hi!

Which log are you referring to? Apache CustomLog? That file is not writen by s9y, but by Apache...it might be that Apache interprets some headers in a fancy way, s9y does not have any access to write to the CustomLog itself.

Regards,
Garvin

Re: Log Timestamp error

Posted: Thu Aug 11, 2011 9:18 am
by Noelb
Hrmmm interesting, ok, thanks, I suspect its more php, i'll look further
(sorry for delay, I never got email notification of this thread)