Support

Admin Tools for WordPress

#39666 Consistent Time in logs

Posted in ‘Admin Tools for WordPress’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Environment Information

WordPress version
6.3.2
PHP version
8.1.24
Admin Tools version
1.6.3

Latest post by sjberry1963 on Friday, 20 October 2023 07:21 CDT

sjberry1963

Hello!

So, I've noticed various places where I am given a log file, such as the Security Exceptions log.

When I look at that log, it appears to be set on UTC time.

I have verified the site time zone is set for Chicago

I've also verified the server is set on Chicago time zone.

 

This is a small thing, but I'd really like to sort it out. What am I missing?

 

Thank you for your help!

nicholas
Akeeba Staff
Manager

The Security Expression Log entries are always expressed in UTC. The reason is that some log entries are recorded when Admin Tools loads before WordPress itself as a PHP “prepend script” (that's what the Optimise WAF feature does). Because of that timing we cannot access WordPress configuration, hence all entries are expressed as UTC.

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

sjberry1963

Thanks for the explanation!