|
|
|
// Logging
example...
|
|
logging {
|
|
|
|
channel syslog_channel {
|
|
syslog daemon; // end to syslog's
daemon
|
|
severity debug 1;
|
|
print-severity yes;
|
|
print-category yes;
|
|
};
|
|
channel query_channel {
|
|
file "log/querylog" versions 3;
|
|
print-time yes;
|
|
};
|
|
|
|
channel update_channel {
|
|
file "log/notify+update.log" versions 3;
|
|
print-time yes;
|
|
severity debug 5;
|
|
};
|
|
|
|
channel notify_channel {
|
|
file "log/notify+update.log" versions 3;
|
|
severity debug 3;
|
|
print-time yes;
|
|
};
|
|
|
|
channel everything_else {
|
|
file "log/runlog" versions 3;
|
|
print-time yes;
|
|
print-severity yes;
|
|
print-category yes;
|
|
};
|
|
|
|
|
|
channel dnssec_log {
// a DNSSEC log channel
|
|
file "log/dnssec" versions 2;
|
|
print-time yes;
// timestamp the entries
|
|
print-category yes;
// add category name to entries
|
|
print-severity yes;
// add severity level to entries
|
|
severity debug 3;
// print debug message <= 3 t
|
|
};
|
|
|
|
category dnssec {
dnssec_log; };
|
|
category security {
dnssec_log; };
|
|
category queries { query_channel; };
|
|
category update {
update_channel; syslog_channel; };
|
|
category notify {
notify_channel; syslog_channel; };
|
|
category default { everything_else; syslog_channel; };
|
|
};
|
|
|
|
|