Can't get BIND to log to file

Mark.Andrews at nominum.com Mark.Andrews at nominum.com
Sat May 19 22:54:46 UTC 2001


	Dynamic channels are only written to when the debug level is non
	zero.  Set the severity to info if you want to log what would
	normally be sent to syslog.

	Mark

> Hi,
> 
> I am running a BIND v. 8.2.3 nameserver, chrooted, on a FreeBSD server.
> Everything is working fine, but I have a problem that I can't get named to
> log to a file.
> 
> My logging statements from /etc/named.conf look like this :
> 
> logging    {
>                 channel to_file {
>                         file "/var/log/named.log"
>                         severity dynamic;
>                         print-category yes;
>                         print-severity yes;
>                         print-time yes;
>                         };
> 
>                 category default        { default_syslog; to_file; };
>                 category load            { default_syslog; to_file; };
>                 category config         { default_syslog; to_file; };
>                 category panic          { default_syslog; to_file; };
>                 category queries        { to_file; };
> };
> 
> Al I see are the messages in my /var/log/daemon.log file from the
> default_syslog channel (I run my syslog daemon with a '-l
> /chroot/bind/dev/log' option) I don't get a /var/log/named.log file
> anywhere. Not even when I stop and start the named daemon. This I don't
> understand. Am I overlooking something here?????
> 
> MTIA.
> 
> 
> Lars.
> 
> 
> 
--
Mark Andrews, Nominum Inc.
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742                 INTERNET: Mark.Andrews at nominum.com


More information about the bind-users mailing list