Re: syslogd milliseconds timestamp

2016-10-05 Thread David Gwynne
> On 6 Oct 2016, at 07:07, Alexander Bluhm wrote: > > Hi, > > RFC 5424 says you should add 1 to 6 digits fractions of a second > to each syslog timestamp. As we do not measure the time in syslog(3), > it takes 100 microseconds on my laptop before syslogd(8) adds the > timestamp. So I have dec

syslogd milliseconds timestamp

2016-10-05 Thread Alexander Bluhm
Hi, RFC 5424 says you should add 1 to 6 digits fractions of a second to each syslog timestamp. As we do not measure the time in syslog(3), it takes 100 microseconds on my laptop before syslogd(8) adds the timestamp. So I have decided to use only 3 digits with millisecond precision. Note that th