Changing Syslog timestamp to UTC

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


Hello,

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..

Thanks
Ss


More information about the freebsd-questions mailing list