[syslog-ng] syslog-ng not logging
fico gid
ficohertz at gmail.com
Mon Sep 26 10:49:46 CEST 2005
hi there syslog gurus..
Is the configuration below enough for me to log some of my routers ?
157.0.1.1 is my syslog server and im suppose to get logs frm a few
routers. I have added appropriate logging commands on the routers to
log to the syslog server but i don't see anything. syslog-ng is
started and listening on both udp/tcp . Im running on freebsd
--start--
## syslog-ng
source remote {
unix-stream("/var/run/log"); internal(); pipe("/dev/klog");
udp(ip(157.0.1.1) port(514));
tcp(ip(157.0.1.1) port(514) keep-alive(yes));
};
destination std {
file("/var/log/hosts/$HOST/$YEAR/$MONTH/$DAY/$FACILITY"
owner(root) group(root)
perm(0644) dir_perm(0755) create_dirs(yes));
};
log {
source(remote);
destination(std);
};
destination authlog { file("/var/log/auth.log"); };
destination cron { file("/var/log/cron.log"); };
destination debug { file("/var/log/debug.log"); };
destination kern { file("/var/log/kern.log"); };
destination user { file("/var/log/userlog"); };
destination maillog { file("/var/log/maillog"); };
destination security { file("/var/log/security"); };
destination messages { file("/var/log/messages"); };
--end--
any hints or help is much appreciated.
thanks
fico
More information about the syslog-ng
mailing list