From owner-freebsd-questions@FreeBSD.ORG Sat Jul 7 06:34:45 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C39B816A469 for ; Sat, 7 Jul 2007 06:34:45 +0000 (UTC) (envelope-from patrick_dkt@yahoo.com.hk) Received: from web54304.mail.re2.yahoo.com (web54304.mail.re2.yahoo.com [206.190.49.114]) by mx1.freebsd.org (Postfix) with SMTP id 607DD13C48C for ; Sat, 7 Jul 2007 06:34:45 +0000 (UTC) (envelope-from patrick_dkt@yahoo.com.hk) Received: (qmail 46695 invoked by uid 60001); 7 Jul 2007 06:34:44 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com.hk; h=X-YMail-OSG:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=eoWELqEu7vLk7eVSWoCdxXT1kVRILxGsvu0iKaIkIsxKHY6E85xwUasYfvHqbJDGBah25HvzrJmOHo+Ex98PHQ6/UALh2TWEsM/773mHA9d1vyesvIe1avn1ThjjWorBqPkABLdz7ybuU2TDOnkAhhX3+8CU1yufXwIqT58Ln98=; X-YMail-OSG: q.ORioYVM1lulE0Sjm8BaO1t3ulplzCelTKWRnzUX8RUmhireyjymld4Ti9mx6I3aIv8GoQt.W3hrhonhQ3NMJ8jV4PTKx6Wr1fVroauVyeZ12swQMqa5kzy2IAikREEJqUWS0L4hFF6pVQ- Received: from [61.15.61.52] by web54304.mail.re2.yahoo.com via HTTP; Fri, 06 Jul 2007 23:34:44 PDT Date: Fri, 6 Jul 2007 23:34:44 -0700 (PDT) From: Patrick Dung To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Message-ID: <636196.46692.qm@web54304.mail.re2.yahoo.com> Subject: FreeBSD 6.2 default bind9, question about customize logging 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, 07 Jul 2007 06:34:45 -0000 I am using FreeBSD 6.2 with the default bind (not ports). By default chroot is used. When named start or stop, it does have log in /var/log/messages. But for example, when some do domain transfer successfully, that is not logged (zone transfer denied is logged). So I tried to add this part in named.conf (enabled local0.* in syslog.conf) , but still no luck. Any suggestions? logging { channel named-log { //syslog daemon; syslog local0; severity info; print-category yes; }; category default { named-log; }; category xfer-in { named-log; }; category xfer-out { named-log; }; category unmatched { null; }; }; Thanks Patrick ____________________________________________________________________________________ Park yourself in front of a world of choices in alternative vehicles. Visit the Yahoo! Auto Green Center. http://autos.yahoo.com/green_center/