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

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users

Reply via email to