[syslog-ng] Trouble with microseconds

Clayton Dukes cdukes at gmail.com
Fri Dec 6 08:30:11 CET 2013


Hi,
I have a system configured to microseconds logging, but for most of entries
it's always zero - actually the only program which logs it correctly is the
syslog-ng itself.

@1386239689.000000 13 blah

@1386239859.947724 45 syslog-ng shutting down; version='3.5.2'

@1386239860.304194 45 syslog-ng starting up; version='3.5.2'

@1386239860.337325 45 EOF on control channel, closing connection;

@1386239865.000000 13 blah


Anyone have an idea what I'm doing wrong?


Here's the config:

destination d_mydest{

    program("/somepath"

        template("@${UNIXTIME:--}\t${PRI:--}\t${MSGONLY}\n")

        flags(no_multi_line)

        flush_timeout(100)

        frac_digits(6)

    );

};
______________________________________________________________

Clayton Dukes
______________________________________________________________
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.balabit.hu/pipermail/syslog-ng/attachments/20131206/5a168ca1/attachment.htm 


More information about the syslog-ng mailing list