Help with logrotate and bind

Diosney Sarmiento Herrera diosney.s at gmail.com
Fri Feb 26 15:02:06 UTC 2010


Hi!

   I am trying to rotate my named logfile with logrotate and I
configured it as I show:

#
#       Logrotate fragment for bind.
#
/var/log/named.log {
        daily
        ifempty
        compress
        delaycompress
        dateext
        rotate 14
        missingok
        nocreate
}

   The problem is that when the log is rotated the file
"/var/log/named.log" dissapear.
   
   How I can fix this issue?

   By the way, there is a need to include a prerotate and postrotate
scripts? 

   Thanks in advance! 

-- 
          Diosney







More information about the bind-users mailing list