[syslog-ng] ts_format(iso); frac_digits(6); == 000000+00:00 always ?

Daniel Maher dma+syslogng at witbe.net
Mon Jul 12 19:01:22 CEST 2010


Hello,

I wish to enable the ISO timestamp format, and to have a granularity of 
six digits.  I have enabled the following in my global options :

   frac_digits (6);
   ts_format(iso);

The timestamp format is enabled as expected, but the fractional digits 
always appear as straight zeros.  For example :

2010-07-12T16:49:27.000000+00:00 s_sys at srv-01 postfix/qmgr[2851]: 
2EF1B1F9034E: removed

Is there a way to enable the desired millisecond timestamps ?

Details :

$ uname -s -r -v -p -o
Linux 2.6.18-194.el5 #1 SMP Fri Apr 2 14:58:14 EDT 2010 x86_64 GNU/Linux
$ cat /etc/redhat-release
CentOS release 5.5 (Final)
$ rpm -qa | grep syslog-ng
syslog-ng-2.1.4-1.el5

Thank you, and have an excellent day.


-- 
Daniel Maher <dma PLUS syslogng AT witbe DOT net>


More information about the syslog-ng mailing list