From owner-freebsd-questions@FreeBSD.ORG Mon Sep 8 13:36:14 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8395116A4BF for ; Mon, 8 Sep 2003 13:36:14 -0700 (PDT) Received: from mailhost.schluting.com (cheshire.cat.pdx.edu [131.252.214.57]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1068F43F75 for ; Mon, 8 Sep 2003 13:36:13 -0700 (PDT) (envelope-from charlie@schluting.com) Received: from localhost (localhost [127.0.0.1]) by mailhost.schluting.com (Postfix) with ESMTP id C55C8241D for ; Mon, 8 Sep 2003 13:36:12 -0700 (PDT) Received: from by localhost (amavisd-new, port ) id FHPOyipa for ; Mon, 8 Sep 2003 13:36:09 -0700 (PDT) Received: by mailhost.schluting.com (Postfix, from userid 1001) id 5345F23EA; Mon, 8 Sep 2003 13:36:08 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by mailhost.schluting.com (Postfix) with ESMTP id 2584420F3 for ; Mon, 8 Sep 2003 13:36:08 -0700 (PDT) Date: Mon, 8 Sep 2003 13:36:08 -0700 (PDT) From: Charlie Schluting X-X-Sender: charlie@cheshire.cat.pdx.edu To: freebsd-questions In-Reply-To: Message-ID: <20030908133407.T31157@cheshire.cat.pdx.edu> References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: by your mom at schluting.com Subject: Re: Bind query logging stops after a logrotate. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Sep 2003 20:36:14 -0000 On Mon, 8 Sep 2003, John Ekins wrote: > Hello Charlie, > > On Mon, 8 Sep 2003 12:04 , Charlie Schluting sent: > > > >After a logrotate, it stops logging completely. The permissions are Yes, I meant after a run of newsyslog. > You could use the built in log rotation in Bind. Change your log line to, for example: > > file "/var/log/query.log" print-time yes; versions 5 size 10m; THANKS! That will do nicely. -Charlie