Upstream has decided that it is not a bug and that the  RFC 3339
timestamps can in fact freely mix timestamps with or without the
sub-seconds part (I've checked, the RFC explicitly has the subseconds
part defined as optional in the grammar).

For people coming here to look: I've successfully modified my remote
client rsyslog configuration to send *long* timestamps to the remote
syslog. The default configuration seems to use
RSYSLOG_TraditionalForwardFormat (I didn't find much info about which
template formats are built into rsyslog and what they do, I've used
'strings' and 'grep' to find out). The RSYSLOG_ForwardFormat formats
forwarded messages *with* sub-seconds part.

So instead of, e.g.,
*.*;auth,authpriv.none                @syslog:514
you specify a format:
auth,authpriv.*                       @syslog:514;RSYSLOG_ForwardFormat

which transmits the sub-seconds part to the receiving rsyslog.

So I think we can close this.

Thanks,
Ralf
-- 
Dr. Ralf Schlatterbeck                  Tel:   +43/2243/26465-16
Open Source Consulting                  www:   www.runtux.com
Reichergasse 131, A-3411 Weidling       email: [email protected]

Reply via email to