Incorrect timestamp on cpanel access log

mctDarren

Well-Known Member
Jan 6, 2004
665
8
168
New Jersey
cPanel Access Level
Root Administrator
Anyone else experienced this or know a fix (if needed)

My cpanel access_log is showing a different time/date stamp as other logs.

CPanel log: [07/18/2007:12:38:25 -0000]

Exim log: 2007-07-18 08:42:45

Just wondering why exim would be using -0500 while CP is using -0000?
 

karlos

Member
Oct 1, 2003
17
0
151
Yes, seems like access_log gets a fixed timezone rather than the timezone configured in the server :confused:


Perhaps it is for the convenience of the support team? :confused:
 

carteluo

Member
Jun 25, 2005
21
0
151
Porlamar
cPanel Access Level
Root Administrator
Twitter
Sorry for bringing up this old topic, but any advice on this?

Apache and Exim logs are using server time (America/Caracas) but cpanel logs uses UTC (?).

Is there a way we can resync cpanel logs timestamps with the server timezone?

Thank you.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,258
463
Hello,

This is addressed with internal case number 186981. All cpsrvd logs will use the same time stamp (local time). This change is scheduled for cPanel version 11.52.

Thank you.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,258
463
I have same issue with a timestamp on cPanel access log. Running WHM 11.50.0.20
Hello :)

You won't see this addressed until cPanel version 11.52 due to the scope of changes required to fix this behavior.

Thank you.
 

cPanelNick

Administrator
Staff member
Mar 9, 2015
3,481
35
208
cPanel Access Level
DataCenter Provider
The logs that are most frequently examined by humans (error_log, login_log, etc) log in local time.

The access_log will remain in GMT/Z time for compatibility with stats programs.