named listening on LAN
Zbigniew Szalbot
zbigniew at szalbot.homedns.org
Wed Jul 11 11:53:54 UTC 2007
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
More information about the freebsd-questions
mailing list