[syslog-ng] is connection broken logged?

Richard Legault rlegault at SANDVINE.com
Sat Jul 9 05:36:54 CEST 2005


We are using version 1.6.0rc4

As part of our regression testing we attempt to send a log message to a host that is non-existent (123.124.125.126)
We expect to see in our log the error message Connection Broken, we are not seeing that.

here is the parts of our conf file that are relevant


destination tcsvlogfile { file("/var/log/svlogtc"); };
destination badsyslogsrvr { udp("123.124.125.126" port(514)); };

filter f_ic17 { match( "ic_17 test message" ); };

log { source(src); filter(f_ic17); destination(badsyslogsrvr); };
log { source(src); destination(tcsvlogfile); };



Now when I send the command
logger "ic_17 test message"

I see the corresponding "ic_17 test message" message in /var/log/svlogtc
but I do not see the error that it could not send the message to badsyslogsrvr.
i.e. Connection Broken ... 

Are error messages from syslog-ng not logged ( I could understand this as it could end up in a
nasty recursion loop)

Thanks.

Richard Legault
Senior Engineer
519-880-2400 ext 2722
www.sandvine.com




More information about the syslog-ng mailing list