Seems OH3 does not respect the local timezone.
- I have set my timezone
- I have restarted OH3
- But OH3 logs are still showing wrong times (USA/LA)
root@openHAB:~# ls -l /etc/localtime lrwxrwxrwx 1 root root 35 May 4 12:36 /etc/localtime -> /usr/share/zoneinfo/Australia/Perth root@openHAB:~# date Tue May 4 14:00:19 AWST 2021 root@openHAB:~# service openhab restart tail $OPENHAB_LOGDIR/openhab.log 2021-05-03 23:02:47.448 [INFO ] [.core.internal.i18n.I18nProviderImpl] - Time zone set to 'Australia/Perth'. 2021-05-03 23:02:47.486 [INFO ] [.core.internal.i18n.I18nProviderImpl] - Location set to '-32.02732708763323,115.77975690364839'. 2021-05-03 23:02:47.497 [INFO ] [.core.internal.i18n.I18nProviderImpl] - Locale set to 'en_AU'.
As you can see OH3 is seeing the local TZ:
Time zone set to 'Australia/Perth'
But the timestamps are not correct in the log file.
Instead … they represent USA/Los Angeles time.
How do I get the correct timestamps in the log file?
BTW … this investigation started when my Rules were firing at the wrong times.