[syslog-ng] Proper configuration for Syslog-ng PE v4.0 disk-based buffering feature is required...

Balazs Scheidler bazsi at balabit.hu
Sat Apr 2 09:32:02 CEST 2011


On Fri, 2011-04-01 at 14:05 +0530, Prashant Badhe wrote:
> Hi,
> 
>  
> 
> I am evaluating Syslog-ng PE v4.0 disk-based buffering feature on
> Linux, but it doesn’t seems to be working.
> 
>  
> 
> Below is the configuration I added to my sysylog-ng.conf file:
> 
>  
> 
> destination d_syslog {
> 
> tcp("myserver" port(1468) log_disk_fifo_size(102400) );
> 
> file("/var/log/messages");
> 
> };
> 
>  
> 
> When the connection to the server is up then I receive the forwarded
> syslogs properly. When the network connection goes down, syslog-ng
> stores these messages at location /opt/syslog-ng/var, (.qf files). But
> when the network connection reestablishes, these stored messages never
> sent to the server.
> 
>  
> 
> Can anybody please guide me if there is some missing configuration or
> wrong configuration I have done to make this feature work?

It takes some time until syslog-ng reestablishes connection to the
server. The queue only starts to empty once that connection is open.

This time is controlled by time_reopen()



-- 
Bazsi




More information about the syslog-ng mailing list