Help with logrotate and bind
Diosney Sarmiento Herrera
diosney.s at gmail.com
Fri Feb 26 15:59:37 UTC 2010
Hi Alan!
I think that you are right. Sorry for that :(
Thanks for the tip, but I want to save the logs using the syslog
facilities and with the date in the the log name. I looked into the
"logging" statement syntax and I think that the "file" and the "syslog"
options are mutually exclusive.
--
Diosney
On Fri, 2010-02-26 at 10:08 -0500, Alan Clegg wrote:
> 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
>
> _______________________________________________
> bind-users mailing list
> bind-users at lists.isc.org
> https://lists.isc.org/mailman/listinfo/bind-users
More information about the bind-users
mailing list