bind没有log记录,求助
logging{
channel default_syslog { syslog local2; severity error; };
channel audit_log { file "/var/log/named.log"; severity error; print-time yes; };
category default { default_syslog; };
category default { audit_log; };
category general { audit_log; };
category security { audit_log; default_syslog; };
category config { audit_log; };
category resolver { audit_log; };
category xfer-in { audit_log; };
category xfer-out { audit_log; };
category notify { audit_log; };
category client { audit_log; };
category network { audit_log; };
category update { audit_log; };
category queries { audit_log; };
category lame-servers { audit_log; };
};
这是我的named.conf的log配置部分,我手动在/var/log/下创建的named.log,并且权限设成了777。在对应于default_syslog的/var/log/messages中能看到bind的记录,但是在/var/log/named.log下是空的。请问有办法解决么?