Our features site is undergoing a refresh! Be sure to explore the revamped site and discover our latest product roadmap launching here on Monday, March 18th.

Add GMT timzezone to access log

Alex shared this idea 8 years ago
Open Discussion

hello


Cpanel write domains logs in correct GMT format, but own logs (login/logout logs in to CPanel) wriet in UTC format.

If you want to analize logs, you MUST KNOW AND REMEMBER what timezone

[/usr/local/cpanel/logs]# tail -n 1 access_log


IP_ADDRESS - *SOME INFO*

[08/24/2016:12:58:05 -0000] "SOME INFO"

[/usr/local/cpanel/logs]# date


The Aug 24 15:59:39 MSK 2016

Leave a Comment
 
Attach a file