> On Apr 4, 2018, at 6:34 PM, David Lang <[email protected]> wrote:
> 
> On Wed, 4 Apr 2018, Casey Deccio via rsyslog wrote:
> 
>> 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
> 
> this sets the default template to be used when writing to a file, it does 
> nothing when sending over the network.
> 
> try using the template RSYSLOG_ForwardFormat on your version sending over the 
> network

Thank you!  I've been looking for that longer than I care to admit...  It 
immediately worked like a champ.  Many 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.

Reply via email to