access.log timestamp and utc are not matching
Added by shivakumar about 4 years ago
Hi,
How to resolve timestamp issue in access.log??
Timestamp in access.log: [01/Jan/1970:03:56:07 +0000]
This is not in UTC. I tried restarting lighttpd but this is not working.
What kind of change, do I have to include in lighttpd.conf file to reflect UTC timestamp in access.log??
Replies (3)
RE: access.log timestamp and utc are not matching - Added by gstrauss about 4 years ago
What do you think +0000 is?
Please read the documentation about other time formats that lighttpd provides in the access log: mod_accesslog
RE: access.log timestamp and utc are not matching - Added by shivakumar about 4 years ago
+0000 is for timezone information, even though timezone is in UTC, timestamp : [01/Jan/1970:03:56:07 +0000] is not matching with the current date.
For timestamp, two options present in the mod_accesslog. I tried both options.
Default option (%t) timestamp is being used in lighttpd.
Please let me know how to make access.log timestamp match with the current date. 1970 year seen in the timestamp of the logs.
RE: access.log timestamp and utc are not matching - Added by gstrauss about 4 years ago
This is not a problem with lighttpd. Check your system.
Let me put this another way: what do you think the odds are that what you have described is a bug in lighttpd, affecting people all over the world? Probability suggests such a problem is isolated to your system.