[syslog-ng]syslog-ng and syslog
Rossi Dario
drossi@colt-telecom.it
Fri, 18 Aug 2000 12:17:47 +0100
Hello all,
a newbie question....
i have two pcs running linux debian 2.2
System1 is equipped with syslog and Sytem2 with syslog-ng
I tried to log the System1 facility daemon on System2 doing so:
On System1 (syslog.conf)
daemon.* @System2IP
On System 2 (syslog-ng.conf)
source src { unix-stream("/dev/log"); internal(); udp(); };
destination mydest { file("/var/log/myfile"); };
filter myfilter { facility(daemon) and host("system1"); };
log { source(src); filter(myfilter); destination(mydest); };
options { use-fqdn(yes); };
restarted all daemons and what happened was that daemonlog of system1 was
logged on System2-daemonlog instead of System2-myfile.
I tried this coexistence with syslog because in a near future i ll have to
monitorize some Cis*o logs and i 'd like to do it with syslog-ng, so i need
to make it run asap.
: O
any help?
dario