#2872 Rotate named logs
Closed: Fixed None Opened 12 years ago by toshio.

Bind's logs on ns01 and ns02 are ending up in /var/named/chroot/log/named.log but the /var/log/logrotate.d/named file doesn't rotate those.

{{{
/var/log/named.log {
missingok
create 0644 named named
postrotate
/sbin/service named reload 2> /dev/null > /dev/null || true
endscript
}
}}}

Recommend adding a puppet file for this that rotates /var/named/chroot/log/named.log


Login to comment on this ticket.

Metadata