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

Matthew Hall mhall at mhcomputing.net
Wed Apr 13 03:41:47 CEST 2011


Could you paste a snippet (even if paths, etc. are edited) so we could try to repro / interpret it in detail?

Matthew.

On Tue, Apr 12, 2011 at 04:51:38PM -0600, Bill Anderson wrote:
> 
> 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


More information about the syslog-ng mailing list