Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 05 Apr 2002 23:27:10 +0200
From:      Poul-Henning Kamp <phk@freebsd.org>
To:        current@freebsd.org
Subject:   patch: make syslog stop spamming any root it finds...
Message-ID:  <21793.1018042030@critter.freebsd.dk>

next in thread | raw e-mail | index | archive | help

I have always hated the three lines in /etc/syslog.conf which spams
root with far too many and far too irrellevant syslog messages, in
some cases even with several copies of them.

For the life of me I cannot understand why we feel the need to whine
like that at any root which crosses our way, so unless somebody can
explain to me why this is vital, I'll commit the following patch.

Poul-Henning

Index: syslog.conf
===================================================================
RCS file: /home/ncvs/src/etc/syslog.conf,v
retrieving revision 1.20
diff -u -r1.20 syslog.conf
--- syslog.conf	11 Mar 2002 19:34:57 -0000	1.20
+++ syslog.conf	5 Apr 2002 21:24:07 -0000
@@ -12,9 +12,6 @@
 mail.info					/var/log/maillog
 lpr.info					/var/log/lpd-errs
 cron.*						/var/log/cron
-*.err						root
-*.notice;news.err				root
-*.alert						root
 *.emerg						*
 # uncomment this to log all writes to /dev/console to /var/log/console.log
 #console.info					/var/log/console.log

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe
Never attribute to malice what can adequately be explained by incompetence.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?21793.1018042030>