Syslog

Joshua Lokken joshua at twobirds.us
Thu Mar 18 08:10:56 PST 2004


* JJB <Barbish3 at adelphia.net> [2004-03-18 07:30]:
> *.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 at freebsd.org
> [mailto:owner-freebsd-questions at freebsd.org]On Behalf Of Doug Hardie
> Sent: Wednesday, March 17, 2004 7:57 PM
> To: freebsd-questions at 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.


This is more of a question, but could the lines above simply
be commented out?

Top-posting makes list mails a bit difficult to follow
logically; please do not top-post.

-- 
Joshua

Women professionals do tend to over-compensate.
		-- Dr. Elizabeth Dehaver, "Where No Man Has Gone Before",
		   stardate 1312.9.


More information about the freebsd-questions mailing list