Help with logrotate and bind
    Alan Clegg 
    aclegg at isc.org
       
    Fri Feb 26 15:08:33 UTC 2010
    
    
  
Diosney Sarmiento Herrera wrote:
>    I am trying to rotate my named logfile with logrotate and I
> configured it as I show:
[...]
This is much more a question for a list that discusses the logrotate
application than it is to bind-users.  I would recommend, however, that
you look into the built-in ability of named to roll log files:
        channel general_log {
                file "logs/general.log" versions 2 size 2m;
                severity info;
        };
will keep logs/general.log (current) and a .0 and .1 version of the
file, all of 2m in size.  When the primary log exceeds this size,
rolling is automatic.
AlanC
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 261 bytes
Desc: OpenPGP digital signature
URL: <https://lists.isc.org/pipermail/bind-users/attachments/20100226/b92c6a51/attachment.bin>
    
    
More information about the bind-users
mailing list