Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 Nov 2002 07:08:11 -0700
From:      Pete Fritchman <petef@absolutbsd.org>
To:        Andrew Nelson <andrew__nelson@hotmail.com>
Cc:        freebsd-isp@freebsd.org
Subject:   Re: Moving namedb log entries to another file?
Message-ID:  <20021108070811.A24303@absolutbsd.org>
In-Reply-To: <F167VpSlSt7IZfSp1J100001db7@hotmail.com>; from andrew__nelson@hotmail.com on Sat, Nov 09, 2002 at 01:03:12AM %2B1100
References:  <F167VpSlSt7IZfSp1J100001db7@hotmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
++ 09/11/02 01:03 +1100 - Andrew Nelson:
| Hi,
| 
| My /var/log/messages is getting swamped by
| a heap of namedb stuff that I don't really
| need to know about.  Does anyone know how
| I could tell syslog to put it somewhere
| else (or configure namedb to do it)..

I prefer to have named just log to a file (in this case, inside a
chroot).  In your named.conf, put:

logging {
        channel filelog {
                file "/var/log/named" versions 3 size 1M;
        };
        category default { filelog; };
};

--pete

--
Pete Fritchman [petef@(databits.net|freebsd.org|wyom.net)]
finger petef@databits.net for PGP key

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isp" in the body of the message




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