News:

SMF - Just Installed!

Main Menu

Apache logs continue to change back to UTC [SOLVED]

Started by mahesh, Aug 12, 2023, 08:44 AM

Previous topic - Next topic

mahesh

I'm new to Ubuntu, and this is an odd one for me.

I have my timezone set with
     Code:
timedatectl set-timezone America/Denver
I also run this:
     Code:
dpkg-reconfigure tzdata
When I restart apache2 it will show logs as MTC, but within a minute or so, will revert back to UTC

Current output of timedatectl
     Code:
Local time: Tue 2023-02-21 15:14:05 MST
Universal time: Tue 2023-02-21 22:14:05 UTC
RTC time: Tue 2023-02-21 22:14:05
Time zone: America/Denver (MST, -0700)
System clock synchronized: yes
NTP service: active
RTC in local TZ: no

     Code:
xxx.xxx.xxx.xxx - - [21/Feb/2023:15:14:17 -0700]....
xxx.xxx.xxx.xxx - - [21/Feb/2023:22:15:20 +0000]....

Maybe it's about the RTC in local TZ should be yes?

Thanks!
hanji