[syslog-ng] keep-alive question

Balazs Scheidler bazsi at balabit.hu
Tue Dec 4 09:33:50 CET 2007


On Mon, 2007-12-03 at 19:41 -0500, Josh Endries wrote:
> I'm having remote connections drop with 1.6. I have my hosts log to localhost 
> stunnel to my server. The problem seems to be when hosts rotate and HUP their 
> daemons, it breaks the stunnel connection. I believe my log server is working 
> after putting keep-alive on it; when I reload it, I don't see messages 
> indicating reconnects. It doesn't on the clients, though, it gave me a syntax 
> error. It seems keep-alive only works in source sections but not in destination 
> sections. Is this correct? The manual online seems to suggest it would work with 
> any tcp stream... (the man page that came with my syslog-ng doesn't mention it 
> at all). Is this different in 2.0?

The destinations are always reopened upon HUP even in 2.0. I'm Ccing the
documentation team to clarify this in the documentation.

Is it really worth supporting keep-alive on destinations? I assume
stunnel also reconnects, right?

-- 
Bazsi



More information about the syslog-ng mailing list