From owner-freebsd-questions@FreeBSD.ORG Sat Jul 1 22:28:00 2006 Return-Path: X-Original-To: questions@freebsd.org Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C72BA16A509 for ; Sat, 1 Jul 2006 22:28:00 +0000 (UTC) (envelope-from josh@tcbug.org) Received: from rwcrmhc12.comcast.net (rwcrmhc12.comcast.net [216.148.227.152]) by mx1.FreeBSD.org (Postfix) with ESMTP id 58E1A45027 for ; Sat, 1 Jul 2006 21:26:50 +0000 (GMT) (envelope-from josh@tcbug.org) Received: from gimpy (c-24-118-173-219.hsd1.mn.comcast.net[24.118.173.219]) by comcast.net (rwcrmhc12) with ESMTP id <20060701212650m120065uope>; Sat, 1 Jul 2006 21:26:50 +0000 From: Josh Paetzel To: questions@freebsd.org Date: Sat, 1 Jul 2006 16:26:49 -0500 User-Agent: KMail/1.9.1 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200607011626.49491.josh@tcbug.org> Cc: Subject: Using syslogd to log for BIND X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 01 Jul 2006 22:28:01 -0000 I have a nameserver running BIND 9.3.2 on a FreeBSD box running 6.1-RELEASE. BIND seems to log to /var/log/messages by default and I would like to change that behavior. Here's what I've done so far: syslog.conf local1.* /var/log/bind/bind.log *.info;mail.none;cron.none;kern.none;local0.none;local1.none;ftp.none;auth.none; authpriv.none /var/log/messages/messages !named *.* /var/log/bind/bind.log named.conf logging { channel my_syslog { syslog local1; severity info; }; }; I am getting the logging into bind.log which is what I want but named is still logging to /var/log/messages/messages How do I disable this undesirable behaviour? -- Thanks, Josh Paetzel