Log Timestamp error
Posted: Wed Jul 27, 2011 7:29 am
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.....
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.....