hi,
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 can't find your daemonlog destination in the config file above.
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.
syslog-ng can coexist with old syslogds without problems. -- Bazsi PGP info: KeyID 9AF8D0A9 Fingerprint CD27 CFB0 802C 0944 9CFD 804E C82C 8EB1 url: http://www.balabit.hu/pgpkey.txt