Paper Lantern for cPanel accounts is being retired this year. Find out more »
cPanel & WHM Version 102 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 5 years ago
Open Discussion


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


[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