Configuring and Managing MPE/iX Internet Services (August 2002)
Appendix B
BIND 8 Configuration File
222
channel moderate_debug {
severity debug 3; // level 3 debugging to file
file “foo”; // foo
print-time yes; // timestamp log entries
print-category yes; // print category name
print-severity yes; // print severity level
/*
* Note that debugging must have been turned on either
* on the command line or with a signal to get debugging
* output (non-debugging output will still be written to
* this channel).
*/
};
/*
* If you don’t want to see “zone XXXX loaded” messages but do
* want to see any problems, you could do the following.
*/
channel no_info_messages {
syslog;
severity notice;
};
category load { no_info_messages; };
/*
* You can also define category “default”; it gets used when no
* “category” statement has been given for a category.
*/
category default {
default_syslog;
moderate_debug;
};
/*
* If you don’t define category default yourself, the default
* default category will be used. It is
*
* category default { default_syslog; default_debug; };
*/
/*
* If you don’t define category panic yourself, the default
* panic category will be used. It is
*
* category panic { default_syslog; default_stderr; };
*/
/*
* Two categories, ‘packet’ and ‘eventlib’, are special. Only one
* channel may be assigned to each of them, and it must be a
* file channel. If you don’t define them yourself, they default to
*
* category eventlib { default_debug; };
*
* category packet { default_debug; };
*/
};
include “filename”; // can’t do within a statement