Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Jul 2007 13:53:46 +0200
From:      Zbigniew Szalbot <zbigniew@szalbot.homedns.org>
To:        Duane Hill <d.hill@yournetplus.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: named listening on LAN
Message-ID:  <596cb9575b19833d14641ebca8558b7b@szalbot.homedns.org>
In-Reply-To: <20070711114109.D9624@duane.dbq.yournetplus.com>
References:  <20070711114109.D9624@duane.dbq.yournetplus.com>

next in thread | previous in thread | raw e-mail | index | archive | help

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





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