[96898] in RedHat Linux List
Re: bind or named logging - Solved!
daemon@ATHENA.MIT.EDU (Eddie Kuns)
Thu Oct 29 22:48:44 1998
To: redhat-list@redhat.com
In-reply-to: Message from Ramon Gandia <rfg@nook.net>
Date: Thu, 29 Oct 1998 21:04:45 -0600
From: Eddie Kuns <ekuns@kilroy.chi.il.us>
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com
]
] auth.info;cron.inof;lpr.info;syslog.info /var/log/messages
] user.info;local0.info;local1.info;local2.info /var/log/messages
] local3.info;local4.info;local5.info;local6.info /var/log/messages
] local7.info /var/log/messages
] daemon.info /var/log/daemon
]
] Does anyone have a more elegant way of writing it out?
From my reading of the man page (I have bind-4.9.7-1 installed), you could:
*.info;daemon.warn;mail.none;news.none;authpriv.none /var/log/daemon
and I think that can be abbreviated to
*.info;daemon.warn;mail,news,authpriv.none /var/log/daemon
BTW, this would just discard any messages of level daemon.info and thus
avoid cluttering /var/log/messages. It still keeps warnings and error
messages in that logfile tho.
At least according to the man page, you can give wildcard stuff first and
general stuff later. Thus, daemon.warn will override *.info.
I've just tried this ... nothing obvious yet...
Eddie
--
Eddie Kuns | School: ekuns@rci.rutgers.edu Home: ekuns@kilroy.chi.il.us
--------------/ URL: http://www.physics.rutgers.edu/~ekuns/
"Ah, savory cheese puffs, made inedible by time and fate." -- The Tick
--
PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com http://archive.redhat.com
To unsubscribe: mail redhat-list-request@redhat.com with
"unsubscribe" as the Subject.