A logging question
Sumit Mehrotra
sumit at cs.bu.edu
Tue Nov 14 06:17:21 UTC 2000
Hi Users
I have the following configuration in the named.conf file, for logging of messages :
logging{
channel my_syslog{
syslog daemon;
severity info;
};
channel my_file {
file "named.log";
severity dynamic;
};
// category default{null; };
category statistics {my_syslog; my_file; };
category packet {my_file; };
category queries {my_file; };
};
The idea is to log packet and queries info into the named.log file.
While I get the queries in the named.log file, I do not get the packet info int he same file, I get it in the named.run file. Any idea why? ( The debug level is 1)
If I remove the comments from the default(null) category, I do not get the packet info at all.
I would also like to log the A type responses to the logs . Is there a way(a category) to do that in the current version (BIND Version 8.2.2 patchlevel 7 ) or do I have to hack some code for it?
Thanks
- Sumit
More information about the bind-users
mailing list