From owner-freebsd-questions@FreeBSD.ORG Wed Jul 11 11:53:54 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 C400F16A421 for ; Wed, 11 Jul 2007 11:53:54 +0000 (UTC) (envelope-from zbigniew@szalbot.homedns.org) Received: from szalbot.homedns.org (lists.lc-words.com [83.19.156.210]) by mx1.freebsd.org (Postfix) with ESMTP id 7BD4A13C457 for ; Wed, 11 Jul 2007 11:53:54 +0000 (UTC) (envelope-from zbigniew@szalbot.homedns.org) Received: from www by szalbot.homedns.org with local (Exim 4.67 (FreeBSD)) (envelope-from ) id 1I8alO-00011U-Fo; Wed, 11 Jul 2007 13:53:46 +0200 To: Duane Hill X-PHP-Script: https://poczta.szalbot.homedns.org/index.php for 192.168.11.1 MIME-Version: 1.0 Date: Wed, 11 Jul 2007 13:53:46 +0200 From: Zbigniew Szalbot In-Reply-To: <20070711114109.D9624@duane.dbq.yournetplus.com> References: <20070711114109.D9624@duane.dbq.yournetplus.com> Message-ID: <596cb9575b19833d14641ebca8558b7b@szalbot.homedns.org> X-Sender: zbigniew@szalbot.homedns.org User-Agent: RoundCube Webmail/0.1b Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit Cc: freebsd-questions@freebsd.org Subject: Re: named listening on LAN 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: Wed, 11 Jul 2007 11:53:54 -0000 Hello again, >> Jul 11 13:06:03 szalbot named[3319]: logging channel 'simple_log' file >> '/var/named/var/log/nlog': file not found >> Jul 11 13:06:03 szalbot named[3319]: isc_log_open > '/var/named/var/log/nlog' >> failed: file not found > > I have it working with this: > > logging { > > channel namedlog { > file "/var/log/nlog"; > severity info; > print-time yes; > print-severity yes; > print-category yes; > }; > category default { namedlog; }; > > }; > > When I restarted named, the nlog file was created in /var/named/var/log > automatically: Many thanks! I now understand that the file variable is NOT full path to the log file but a relative one based on the named work directory! Thank you again! Zbigniew Szalbot