Log Timestamp error

Found a bug? Tell us!!
Post Reply
Noelb
Regular
Posts: 37
Joined: Wed Jul 27, 2011 7:16 am

Log Timestamp error

Post by Noelb » 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.....

User avatar
garvinhicking
Core Developer
Posts: 30020
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Log Timestamp error

Post by garvinhicking » Fri Jul 29, 2011 2:00 pm

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
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/

Noelb
Regular
Posts: 37
Joined: Wed Jul 27, 2011 7:16 am

Re: Log Timestamp error

Post by Noelb » Thu Aug 11, 2011 9:18 am

Hrmmm interesting, ok, thanks, I suspect its more php, i'll look further
(sorry for delay, I never got email notification of this thread)

Post Reply