[syslog-ng]Sylog-ng OpenBSD Problems

Johannes Geier syslog-ng@lists.balabit.hu
Wed, 28 Apr 2004 18:14:26 +0200


Hello,

I run syslog-ng-1.5.24 on OpenBSD 3.4 sparc64,
i have some problems, its not working in the way i want it,
my config looks in this way:

options { 
long_hostnames(off);
chain_hostnames(off);
use_fqdn (yes);
sync(0); 
};
source s_udp { udp(); }; 
destination test { file("/var/log/info"); };
log { source(s_udp); destination(test); };

no biggie at all

tail -f /var/log/info shows:
Apr 28 16:23:18 syslog/syslog 1552866: Apr 28 16:42:18:
%LINEPROTO-5-UPDOWN: Line protocol on Interface
Serial1/1:14, changed state to down
Apr 28 16:23:23 syslog/syslog 1552872: Apr 28 16:42:24:
%LINK-3-UPDOWN: Interface Serial1/0:2, changed state to
down

There is no Router source IP, just syslog/syslog syslog is
the name of the logging box

# uname -a
OpenBSD syslog.srv.test.com 3.4 GENERIC#85 sparc64

when i run that box with the normal syslogd the source ip,
gets shown, and even when i erase all options in
syslog-ng.conf :
source s_udp { udp(); }; 
destination test { file("/var/log/info"); };
log { source(s_udp); destination(test); };

the source ip never comes in, i just want the sourceip no
dns name nothing any ideas?

Greets

Johannes
--
Die e-Mail-Boxes von Brennercom sind Virus-gesichert und Spam-gefiltert.
Le caselle e-Mail di Brennercom sono protette da sistemi antivirus e antispam.

http://www.brennercom.it