rotating logs

G. Roderick Singleton gsingleton at
Wed Nov 3 19:10:54 UTC 1999

jpsp at wrote:
> Hi all
> I'm rotating bind logs using a 'move' directly on the files.
> Is this safe?   Is there a "proper" way of doing this?
> Thanks,
> Jp
> PS: I have 5 channels defined:  queries,config,stats,error,info.
> None using syslog.

I prefer cp /dev/null logfile in scripting.  You should have a script
that rotates syslogs and messages, please use it as a model. e.g.
G. Roderick Singleton, <gsingleton at> PATH tech,
71 Underhill Drive, Unit 159, Toronto, ON  M3A 2J8
Voice : 416-452-4583 Fax: 416-452-0036 Toll Free: 1-800-354-PATH

*** Notice To Bulk Emailers: Attention!  Pursuant to US Code, Title 47,
Chapter 5, Subchapter II, 227, any & all unsolicited commercial e-mail
sent to this address is subject to a download and archival fee in the
amount of the $1500 US and copies will be forwarded to domain
administrators.  Emailing denotes acceptance of said terms!

More information about the bind-users mailing list