Hi List members, I Just installed syslog-ng on a Mac OS X 10.4.6 machine trough darwinports, but I'm having trouble with the initial config. With the config I have now, syslog-ng uses 100% cpu time, for unknown reasons to me yet. syslog-ng 1.6.8 What I have now in the config, comes from here: http://sial.org/howto/ logging/syslog-ng/ options { dir_perm(0755); perm(0644); create_dirs(yes); use_fqdn(yes); log_fifo_size(4096); stats(3600); }; source local { unix-dgram("/var/run/syslog"); udp(ip(127.0.0.1) port(514)); internal(); }; source s_kernel { file("/dev/klog" log_prefix("kernel: ")); }; destination everything { file("/var/log/archive/$R_YEAR/$R_MONTH/$R_YEAR-$R_MONTH-$R_DAY" template("$ISODATE <$FACILITY.$PRIORITY> $HOST $MSG\n") template_escape(no) ); }; log { source(local); source(s_kernel); destination(everything); }; filter emerg { level(emerg); }; destination users { usertty("*"); }; log { source(local); filter(emerg); destination(users); }; What I basicly want, is the same as syslogd uses on an default Mac OS X install, and from there I'll try to set it more like I need. Thanks for your time.. - jacco
Dang! I have never been able to get syslog-ng to log anything on Mac OS 10.4.x either. I tried on two servers and one client. I just don't get it. :\ -- Alan Orth Upward Bound - Systems Administrator User Services - Field Technician California State University, Chico x6000 ________________________________ From: syslog-ng-bounces@lists.balabit.hu on behalf of Jacco Rens Sent: Sat 6/17/2006 2:28 AM To: syslog-ng@lists.balabit.hu Subject: [syslog-ng] Mac OS X 10.4 start config file Hi List members, I Just installed syslog-ng on a Mac OS X 10.4.6 machine trough darwinports, but I'm having trouble with the initial config. With the config I have now, syslog-ng uses 100% cpu time, for unknown reasons to me yet. syslog-ng 1.6.8 What I have now in the config, comes from here: http://sial.org/howto/ logging/syslog-ng/ options { dir_perm(0755); perm(0644); create_dirs(yes); use_fqdn(yes); log_fifo_size(4096); stats(3600); }; source local { unix-dgram("/var/run/syslog"); udp(ip(127.0.0.1) port(514)); internal(); }; source s_kernel { file("/dev/klog" log_prefix("kernel: ")); }; destination everything { file("/var/log/archive/$R_YEAR/$R_MONTH/$R_YEAR-$R_MONTH-$R_DAY" template("$ISODATE <$FACILITY.$PRIORITY> $HOST $MSG\n") template_escape(no) ); }; log { source(local); source(s_kernel); destination(everything); }; filter emerg { level(emerg); }; destination users { usertty("*"); }; log { source(local); filter(emerg); destination(users); }; What I basicly want, is the same as syslogd uses on an default Mac OS X install, and from there I'll try to set it more like I need. Thanks for your time.. - jacco _______________________________________________ syslog-ng maillist - syslog-ng@lists.balabit.hu https://lists.balabit.hu/mailman/listinfo/syslog-ng Frequently asked questions at http://www.campin.net/syslog-ng/faq.html
participants (2)
-
Jacco Rens
-
Orth, Alan