[syslog-ng] Not all messages getting to program destination

Bill Anderson Bill.Anderson at bodybuilding.com
Wed Apr 13 00:51:38 CEST 2011


Setup:
 v3.1
 program destination: python script
 secondary file destination in the _same_ log block (so it should be getting everything the program destination gets), no final flag.
 stats turned on, 60s interval.

Problem:
In the script I am tallying lines parsed per minute. The lines parsed per-minute is not matching a grep -c on the file destination. stats indicate no dropped or queued messages to either destination. If I cat the file to the same destination script on the command line, I get the same counts as I do grepping the file directly. I would expect that the script would return the same results from the shell as when running as a destination in syslog. 

Where else can I look/what else can I turn on, to see why the discrepancy exists?



Cheers,
Bill

--
Bill Anderson, RHCE
Linux Systems Engineer
bill.anderson at bodybuilding.com





More information about the syslog-ng mailing list