Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Mar 2004 20:11:38 -0500
From:      "JJB" <Barbish3@adelphia.net>
To:        "Doug Hardie" <bc979@lafn.org>, <freebsd-questions@freebsd.org>
Subject:   RE: Syslog
Message-ID:  <MIEPLLIBMLEEABPDBIEGEEEMFJAA.Barbish3@adelphia.net>
In-Reply-To: <2D4DF92E-7877-11D8-B05A-000393681B06@lafn.org>

next in thread | previous in thread | raw e-mail | index | archive | help
*.err;kern.debug;auth.notice;mail.crit          /dev/console

That would be this

*.err;kern.none;auth.none;mail.none          /dev/console

-----Original Message-----
From: owner-freebsd-questions@freebsd.org
[mailto:owner-freebsd-questions@freebsd.org]On Behalf Of Doug Hardie
Sent: Wednesday, March 17, 2004 7:57 PM
To: freebsd-questions@freebsd.org
Subject: Syslog

FreeBSD 4.6.  I have a server running that logs to syslog for
recording
interesting information.  It uses LOG_DAEMON facility so give the
standard syslog.conf entries of:

*.err;kern.debug;auth.notice;mail.crit          /dev/console
*.notice;kern.debug;lpr.info;mail.crit;news.err /var/log/messages

all of those records go to both console and messages in addition to
the
desire file specified with a ! statement.  Is there a way to modify
the
statements above such that log entries from the specified program
are
not sent to console or messages?  I couldn't find anything in the
man
pages on this.  I had thought I could add a "!prog" after mail.crit
in
the first entry to do that, but it appears that my memory is
corrupt.

_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
"freebsd-questions-unsubscribe@freebsd.org"



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