Re: Changing logging timestamp

2020-09-21 Thread Benjamin Mahler
Mesos uses Google's glog library for logging: https://github.com/google/glog I believe it just prints the local time. You can see that it's produced by a call to gettimeofday(, NULL) and localtime_r (not gmtime_r): https://github.com/google/glog/blob/v0.4.0/src/logging.cc#L1267

Changing logging timestamp

2020-09-20 Thread Marc Roos
I have default remote syslog setup on centos all applications and server log the same timestamp (zone), except mesos and marathon tasks. I assume UTC times are send from them. How can I set this back to the 'hosts default'?