From: Ben Gras Date: Mon, 3 Apr 2006 13:09:47 +0000 (+0000) Subject: start syslogd instead of usyslogd ; include syslog.conf X-Git-Tag: v3.1.2a~91 X-Git-Url: http://zhaoyanbai.com/repos/%22http:/www.isc.org/icons/zlib_tech.html?a=commitdiff_plain;h=14a82e2d051fe0883ed5781f2ac45f0b72930f69;p=minix.git start syslogd instead of usyslogd ; include syslog.conf --- diff --git a/etc/Makefile b/etc/Makefile index 57832b820..78794a184 100644 --- a/etc/Makefile +++ b/etc/Makefile @@ -1,7 +1,7 @@ ETC=/etc/ USRETC=/usr/etc/ -FILES1=fstab group hostname.file inet.conf motd mtab passwd profile protocols rc services termcap ttytab utmp rc.cd binary_sizes binary_sizes.big binary_sizes.xxl rc.rescue +FILES1=fstab group hostname.file inet.conf motd mtab passwd profile protocols rc services termcap ttytab utmp rc.cd binary_sizes binary_sizes.big binary_sizes.xxl rc.rescue syslog.conf FILES2=shadow FILES3=daily dhcptags.conf rc diff --git a/etc/syslog.conf b/etc/syslog.conf new file mode 100644 index 000000000..b48cddcbc --- /dev/null +++ b/etc/syslog.conf @@ -0,0 +1,21 @@ +## +## @(#)syslog.conf 1.0 Jan. 18, 2000 +## +## Use kill -HUP `cat /usr/run/syslogd.pid` to restart +## the server, forcing it to reread this file. + +## Emergency messages (system may be unusable) +*.emerg * +*.alert /dev/log + +## High severity errors +*.alert;*.crit /var/log/syslog + +## Every other message (errors/warning and informational) +*.info;*.notice;*.warning;*.err /var/log/messages + +## Debug informations (tracing programs) +*.debug /var/log/debug + +## $Id$ +## end syslog.conf diff --git a/etc/usr/rc b/etc/usr/rc index 0c6c984bb..4189b6bf8 100644 --- a/etc/usr/rc +++ b/etc/usr/rc @@ -106,8 +106,7 @@ start) echo -n "Starting daemons:" daemonize update - rotate /usr/log/messages 7 - daemonize usyslogd + daemonize syslogd # Ugly error message when starting cron from CD. # (and cron unnecessary then so..)