[syslog-ng] 3.1.2 OSE $SEQNUM Documentation Error?

Fekete Robert frobert at balabit.hu
Mon Aug 16 10:23:08 CEST 2010



Mike Civil wrote:

> I've been playing with Postgresql and 3.1.2 OSE on Gentoo and found a 
> discrepancy when using the $SEQNUM macro and logging and recording on 
> the same host.
> 
> The 3.1 (& 3.2) docs state "The sequence number increases for every 
> message, and is not lost even if syslog-ng is reloaded or restarted." 
> However I noticed that each time syslog-ng is restarted the value 
> returned by $SEQNUM starts at 1.
> 
> A quick check of the source code (specifically templates.c and misc.h) 
> shows no logic to keep state, the value is initialised to 1 on program 
> start.
> 
> Is this an OSE/PE difference, a documentation hiccup or (more likely!) 
> have I got confused somewhere?

Hi,

Definitely not a difference between OSE/PE, either a bug in the docs or in 
syslog-ng. I'll look into it.

Robert

> ______________________________________________________________________________
> Member info: https://lists.balabit.hu/mailman/listinfo/syslog-ng
> Documentation: http://www.balabit.com/support/documentation/?product=syslog-ng
> FAQ: http://www.campin.net/syslog-ng/faq.html
> 
> 



More information about the syslog-ng mailing list