Date: Thu, 7 Nov 2002 21:02:04 +0100 From: Thomas Quinot <thomas@cuivre.fr.eu.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: [src] cvs commit: src/usr.sbin/syslogd syslogd.c Message-ID: <20021107200204.GA6750@melusine.cuivre.fr.eu.org> In-Reply-To: <20021107195531.6549D37B4A8@hub.freebsd.org> References: <20021107195531.6549D37B4A8@hub.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Le 2002-11-07, Thomas Quinot écrivait : > Log: > Factor out the code that determines whether a message must be skipped > as a consequence of a host or program name specification into a common > function, skip_pmessage. This is in preparation of a functional improvement proposal: to allow the specification of multiple programs/host names for each entry. Currently, you can have *.* all.log !ppp *.* ppp.log If you want to avoid duplicate log entries, you can also use: !-ppp *.* all.log !ppp *.* ppp.log But then if you also have !ipmon *.* ipmon.log then you cannot have an all.log file from which you exclude *both* ppp and ipmon entries. The proposed future change would allow the following syntax: !-ppp,-ipmon *.* all.log !ppp *.* ppp.log !ipmon *.* ipmon.log If a log file is configured with a program specification, then a message would be logged only if it matches any of the positive program indications, and none of the negative specifications. The same would hold for host specifications. Thomas. -- Thomas.Quinot@Cuivre.FR.EU.ORG To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021107200204.GA6750>