[syslog-ng] Mac OS X 10.4 start config file
Jacco Rens
readlists at jaccorens.com
Sat Jun 17 11:28:14 CEST 2006
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
More information about the syslog-ng
mailing list