From fb2496e8e08eec0708272fa1fd13bf0174250b95 Mon Sep 17 00:00:00 2001 From: IT Offshore Date: Sun, 10 Nov 2013 09:59:00 +0000 Subject: testing/inetutils-syslogd: new aport A small syslogd for logging to multiple files http://www.gnu.org/software/inetutils/ revised complete patch for inetutils-syslogd. post-install - just gives status / info message - configuration is now done by /sbin/setup-inetutils-syslogd. Both scripts now use the system colours $STRONG $RED $GREEN. post-deinstall - just adds back busybox syslog to boot runlevel & shows the status of syslog & cron (as cron will be stopped by removing any syslog) --- testing/inetutils-syslogd/syslog.conf | 38 +++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 testing/inetutils-syslogd/syslog.conf (limited to 'testing/inetutils-syslogd/syslog.conf') diff --git a/testing/inetutils-syslogd/syslog.conf b/testing/inetutils-syslogd/syslog.conf new file mode 100644 index 0000000000..27141bf8ec --- /dev/null +++ b/testing/inetutils-syslogd/syslog.conf @@ -0,0 +1,38 @@ +# +# First some standard log files. Log by facility. +# +auth,authpriv.* /var/log/auth.log +*.*;auth,authpriv.none -/var/log/syslog +cron.* /var/log/cron.log +daemon.* -/var/log/daemon.log +kern.* -/var/log/kern.log +lpr.* -/var/log/lpr.log +mail.* -/var/log/mail.log +user.* -/var/log/user.log + +# +# Logging for the mail system. Split it up so that +# it is easy to write scripts to parse these files. +# +mail.info -/var/log/mail.info +mail.warn -/var/log/mail.warn +mail.err /var/log/mail.err + +# +# Logging for INN news system. +# +news.crit /var/log/news/news.crit +news.err /var/log/news/news.err +news.notice -/var/log/news/news.notice + +# +# Some "catch-all" log files. +# +*.=debug;\ + auth,authpriv.none;\ + news.none;mail.none -/var/log/debug +*.=info;*.=notice;*.=warn;\ + auth,authpriv.none;\ + cron,daemon.none;\ + mail,news.none -/var/log/messages + -- cgit v1.2.3