[syslog-ng]Message retension period

Balazs Scheidler syslog-ng@lists.balabit.hu
Thu, 16 Sep 2004 18:35:44 +0200


On Thu, 2004-09-16 at 18:00, Jim Mozley wrote:
> Balazs Scheidler wrote:
> 
> 
> > syslog-ng keeps those messages in a memory buffer, whose size is
> > controlled using the log_fifo_size() global/per-destination parameter.
> 
> 
> I can do this on a global level but if I try:
> 
> destination loghost { tcp("loghost" port(5140)); log_fifo_size(1000); };
> 
> The documentation showed log_fifo_size applicable to a file destination 
> but does not list it under udp and tcp destinations.

Hmm I can't remember whether it is applicable to tcp destinations but
the syntax you used above is not correct. it should be:

destination loghost { tcp("loghost" port(5140) log_fifo_size(1000)); };

-- 
Bazsi