log rotation
Andy Shellam
andy.shellam-lists at mailnetwork.co.uk
Fri May 4 15:24:37 UTC 2007
Try using the keyword "size", as follows:
file "/usr/local/named/log/secu.log" versions 3 size 20m;
"versions 3" tells Bind to keep around 3 previous files when it does the
rotation.
Andy.
Daniel Dawalibi wrote:
> Hi
>
>
> I have installed Bind -9.3.2-P2.
>
>
>
> Also I modified in named.conf in order to define 20 MB as maximum size for
> log file.
>
>
>
> logging {
>
> channel "transfer" {
>
> file "/usr/local/named/log/secu.log" 20m;
>
> print-time yes;
>
> print-category yes;
>
>
>
>
>
> But I observed that there is no rotation occurs when the size of the file
> "secu.log" exceed the 20 MB;
>
>
>
> Can anybody help to fix this problem?
>
>
>
> Regards,
>
> Daniel
>
>
>
>
>
> !DSPAM:37,463b4d5f914327502821054!
>
>
>
More information about the bind-users
mailing list