Ротация логов named Bind и newsyslog
Ротация логов bind средствами самого bind, создаем конфиг:
logging {
channel update_debug {
file "/var/log/named-update.log" versions 6 size 512K;
severity debug 3;
print-category yes;
print-severity yes;
print-time yes;
};
channel security_info {
file "/var/log/named-auth.log" versions 6 size 512K;
severity info;
print-category yes;
print-severity yes;
print-time yes;
};
# channel queries …