[syslog-ng] starting syslog with unreachable loghost

Balazs Scheidler bazsi at balabit.hu
Thu Mar 23 14:41:46 CET 2006


On Wed, 2006-03-22 at 18:08 +0100, luksedj luksedj wrote:
> >On Wed, 2006-03-22 at 13:53 +0100, luksedj luksedj wrote:
> >
> >Hm.. syslog-ng should behave exactly what you described, e.g. it should
> >start up and continue connecting to the remote host.
> >
> >I've just checked it myself and it works.
> 
> And what if the remote host is not within a reachable network at the moment 
> syslog-ng starts?

It does not matter. Whatever error happens, it is logged and a timer is
started to reconnect to the target host.

The reconnect timeout is controlled by time_reopen() global option, IIRC
it is 60seconds by default.

And yes, it works for both UDP and TCP.

-- 
Bazsi



More information about the syslog-ng mailing list