Hi all, I'm trying figure out why I'm not getting milliseconds in my rsyslog log entries.
My rsyslog.conf files for both machine1 and machine2 are pretty vanilla, though I have made the following change: # # Use traditional timestamp format. # To enable high precision timestamps, comment out the following line. # #$ActionFileDefaultTemplate RSYSLOG_TraditionalFileFormat (i.e., I have commented out the line, as directed). This works okay when logging to a local file. For example: machine1$ logger -p local0.info hello machine1$ sudo tail /var/log/syslog | grep hello 2018-04-04T18:13:32.733655-06:00 machine1 casey: hello I can clearly see the high-precision timestamp here. But when I use a facility that is configured to go to another server (machine2), the high precision timestamp isn't used: machine1$ logger -p local6.info hello machine2$ sudo tail /var/log/syslog | grep hello 2018-04-04T18:15:21-06:00 machine1 casey: hello No high-precision timestamp here. Can anyone see what I might be missing. Thanks! Casey _______________________________________________ rsyslog mailing list http://lists.adiscon.net/mailman/listinfo/rsyslog http://www.rsyslog.com/professional-services/ What's up with rsyslog? Follow https://twitter.com/rgerhards NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T LIKE THAT.

