cPanel & WHM Version 94 has been released, and brings a slew of great updates. Take a look at what is included, and then upgrade today!

Add GMT timzezone to access log

Alex shared this idea 4 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