Change History (6)
comment:1 by , 21 years ago
comment:2 by , 20 years ago
Status: | new → assigned |
---|
comment:3 by , 20 years ago
According to the Bind 9 Admininistrator's Reference Manual at http://www.bind9.net/Bv9ARM.ch06.html#AEN1607 , the default for logging is this:
logging {
category default { default_syslog; default_debug; }; category unmatched { null; };
};
channel default_syslog {
syslog daemon; send to syslog's daemon
facility
severity info; only send priority info
and higher
};
channel default_debug {
file "named.run"; write to named.run in
the working directory Note: stderr is used instead of "named.run" if the server is started with the '-f' option.
severity dynamic; log at the server's
current debug level
};
channel default_stderr {
stderr; writes to stderr severity info; only send priority info
and higher
};
channel null {
null; toss anything sent to
this channel
};
A quick grep of /var/log/syslog.log for "named" shows only a few entries here. and no named.run in /home/named, of course I've not hit it hard either yet. Just droping this here for when it goes to be added to the config.
comment:4 by , 20 years ago
Upon further review, this bug appears to be invalid. The default options work as expected and drop into /var/log/daemon.log as my previous comment suggested, even though the default configuration I had posted eariler forgot the logging line :-). It might not be a bad idea to drop the default into the named.conf in the book so that people know where to find this.
Here is the missing line:
logging {
category default { default_syslog; default_debug; }; category unmatched { null; };
};
comment:5 by , 20 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Ugh...it was there, just in the wrong place. Corrected addition to named.conf.
logging {
category default { default_syslog; default_debug; }; category unmatched { null; };
channel default_syslog {
syslog daemon; send to syslog's daemon
facility
severity info; only send priority info
and higher
};
channel default_debug {
file "named.run"; write to named.run in
the working directory Note: stderr is used instead of "named.run" if the server is started with the '-f' option.
severity dynamic; log at the server's
current debug level
};
channel default_stderr {
stderr; writes to stderr severity info; only send priority info
and higher
};
channel null {
null; toss anything sent to
this channel
};
};
Closing bug now as it'll be fixed momentarily.
My installation is logging in /home/named/var/log/dns_logs. Version 9.2.2, did this break with 9.2.3?