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