差異處
這裏顯示兩個版本的差異處。
兩邊的前次修訂版前次修改 下次修改 | 前次修改 | ||
dns:bind_log [2010/09/16 16:58] – jal | dns:bind_log [2018/05/16 07:21] (目前版本) – jal | ||
---|---|---|---|
行 14: | 行 14: | ||
logging { | logging { | ||
channel default_log { | channel default_log { | ||
- | file "/ | + | file "/ |
- | severity info; | + | print-time yes; |
- | }; | + | severity info; |
+ | }; | ||
- | channel lamer_log { | + | channel lamer_log { |
- | file "/ | + | file "/ |
- | severity info; | + | severity info; |
- | print-severity yes; | + | print-severity yes; |
- | print-time yes; | + | print-time yes; |
- | print-category yes; | + | print-category yes; |
- | }; | + | }; |
- | channel query_log { | + | channel query_log { |
- | file "/ | + | file "/ |
- | severity info; | + | severity info; |
- | }; | + | print-time yes; |
+ | }; | ||
- | channel security_log { | + | channel security_log { |
- | file "/ | + | file "/ |
- | severity info; | + | severity info; |
- | print-severity yes; | + | print-severity yes; |
- | print-time yes; | + | print-time yes; |
- | print-category yes; | + | print-category yes; |
+ | }; | ||
+ | |||
+ | channel config_file { | ||
+ | file "/ | ||
+ | severity dynamic; | ||
+ | print-time yes; | ||
+ | }; | ||
+ | |||
+ | channel dnssec_log { | ||
+ | file "/ | ||
+ | print-time yes; | ||
+ | print-category yes; | ||
+ | print-severity yes; | ||
+ | severity debug 3; | ||
+ | }; | ||
+ | |||
+ | category dnssec { dnssec_log; }; | ||
+ | category lame-servers { lamer_log; }; | ||
+ | category security{ security_log; | ||
+ | category config { config_file; | ||
+ | category queries { query_log; | ||
+ | category default { default_log; | ||
}; | }; | ||
- | |||
- | category lame-servers { lamer_log; }; | ||
- | category security{ security_log; | ||
- | category queries { query_log; | ||
- | category default {default_log; | ||
- | }; | ||
</ | </ | ||