[95759] in RedHat Linux List
Re: bind or named logging - Solved!
daemon@ATHENA.MIT.EDU (Ramon Gandia)
Wed Oct 21 03:40:40 1998
Date: Tue, 20 Oct 1998 23:37:49 -0800
From: Ramon Gandia <rfg@nook.net>
To: redhat-list@redhat.com
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com
Chuck Mead wrote:
>
> On Mon, 19 Oct 1998, Paul Fontenot wrote:
>
> > Have you tryed setting it in syslog.conf?
> >
> > -Paul
>
> I have... it hung named! There appears to be no viable way to do it.
>
> > On Mon, 19 Oct 1998, Ramon Gandia wrote:
> > > I am interested in having BIND ( ver 4 and/or 8 ) not send
> > > its logging to /var/log/messages where it clutters everything.
Well, I have it working for the time being, like this. In
/etc/syslog.conf :
DELETE THIS LINE:
*.info /var/log/messages
WITH THESE LINES:
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
ENDS
This will log a bunch of stuff to /var/log/daemon instead of
to messages. It makes a difference because the daemon log
file is for routine stuff. Notice that error messages,
emergencies, critical stuff etc. still goes to /var/log/messages
(and even the console if you have it that way).
It is not the best fix, but it works. This is on BIND 8 which
I use here, but it should work identically with BIND 4.
Does anyone have a more elegant way of writing it out?
--
Ramon Gandia ==== Sysadmin ==== Nook Net ==== http://www.nook.net
285 West First Avenue rfg@nook.net
P.O. Box 970 tel. 907-443-7575
Nome, Alaska 99762-0970 ======================= fax. 907-443-2487
--
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.