By default, rsyslog
uses traditional timestamp, which in date
command's format would be:
%b %d %H:%M:%S
This is enabled by the following line in /etc/rsyslog.conf
:
$ActionFileDefaultTemplate RSYSLOG_TraditionalFileFormat
To enable high precision timestamping, comment out the line:
# $ActionFileDefaultTemplate RSYSLOG_TraditionalFileFormat
which will make rsyslog
timestamping in the RFC 3339 format.
No hay comentarios:
Publicar un comentario