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


_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to