BIND 9 Log file rotation

Barry Margolin barry.margolin at level3.com
Tue Sep 2 18:56:27 UTC 2003


In article <bj2n92$1ghc$1 at sf1.isc.org>,
dj <drnj at freemail.redherring.co.uk> wrote:
>Ok, version was a typo, but could you be more helpful and tell me how to do
>it please

Fixing the typo "should" do it.

If you run named as non-root, make sure the user it runs as has write
permission to the directory, so that it can rename the log file and create
the new one.

>
>"Pete Ehlke" <pde at ehlke.net> wrote in message
>news:bioeq0$1h93$1 at sf1.isc.org...
>> On Fri, Aug 29, 2003 at 08:14:53PM +0100, dj wrote:
>> > If I specify
>> >
>> > logging {
>> >  channel myfile { file "junk.dat" version 3 size 10M;
>> >   severity info;
>> > }
>> > etc etc
>> >
>> > It seems BIND-9 fills up the log, then stops logging.
>> > How do I get it to rotate (3) logs of size 10M
>> >
>> > ???
>>
>> You follow the documented grammar, which does not include a "version"
>> keyword for the logging{} block. ;)
>>
>> you want "versions" instead.
>>
>> -Pete
>>
>
>
>


-- 
Barry Margolin, barry.margolin at level3.com
Level(3), Woburn, MA
*** DON'T SEND TECHNICAL QUESTIONS DIRECTLY TO ME, post them to newsgroups.
Please DON'T copy followups to me -- I'll assume it wasn't posted to the group.


More information about the bind-users mailing list