> -----Original Message-----
> From: [email protected] [mailto:rsyslog-
> [email protected]] On Behalf Of Rodney McKee
> Sent: Monday, July 18, 2011 6:00 AM
> To: rsyslog-users
> Subject: [rsyslog] timereported:::date-rfc3339
> 
> What effects the recording of milliseconds when using timereported:::date-
> rfc3339.

This field contains what the sender told us. If the sender sent no ms, we can
not report them. Rather than to pretend "x.000000" they are there, we do not
give them. Note that for the same reason there may be sub-ms resolution, like
us, if that is what the sender reported.

Note that starting with the latest v5-devel version AND a recent Linux
kernel, we can ask the system for more precise timestamps on messages that
come in via the log socket.

Rainer

> Some log entries get milliseconds and some do not:
> The template:
> "%TIMESTAMP% %timereported:::date-rfc3339% %timegenerated:::date-
> rfc3339% %msg%\n"
> 
> The output:
> Jul 18 13:58:30 2011-07-18T13:58:30+10:00 2011-07-18T13:58:30.723250+10:00
> test
> 
> Am I missing something.
> 
> Rgds
> Rodney
> _______________________________________________
> rsyslog mailing list
> http://lists.adiscon.net/mailman/listinfo/rsyslog
> http://www.rsyslog.com
_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com

Reply via email to