Changing Syslog timestamp to UTC

San s warpdrive47 at
Fri Nov 25 17:06:29 UTC 2016


I am on FreeBSD 7 and am trying to change Syslog timestamp to UTC without changing the system timezone. 

Tried exporting TZ=UTC and restarting syslogd. This shows the syslogd restart related messages in UTC, but not rest of the messages. They are still showing up as system timezone.

Also tried starting syslogd with -T option with the above setting which didn't work.

Looking for help in this regard..


More information about the freebsd-questions mailing list