From owner-freebsd-questions Mon Aug 6 13: 9:16 2001 Delivered-To: freebsd-questions@freebsd.org Received: from saaz.cogit8.org (cogit8.org [207.189.137.44]) by hub.freebsd.org (Postfix) with ESMTP id C284237B403 for ; Mon, 6 Aug 2001 13:09:12 -0700 (PDT) (envelope-from rob@euglug.net) Received: from fuggles.lupophile.org (c1374372-a.eugene1.or.home.com [65.4.49.159]) by saaz.cogit8.org (Postfix) with ESMTP id C16D61F009 for ; Mon, 6 Aug 2001 13:10:15 -0700 (PDT) Received: by fuggles.lupophile.org (Postfix, from userid 1000) id 7A146C202; Mon, 6 Aug 2001 13:08:37 -0700 (PDT) Date: Mon, 6 Aug 2001 13:08:37 -0700 From: Rob Hudson To: questions@freebsd.org Subject: Re: rotating web logs Message-ID: <20010806130837.Y12705@cogit8.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.18i X-Editor: Vim http://www.vim.org/ Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I just use a perl script attached to a cron job. At the start of a new month, it copies the combined_log for each virtual we host to YYYY-MM.combined_log and restarts apache. Pretty simple. > On 20010806.1548, Marius Kirschner said ... > > I was wondering, what do people use to rotate the apache web logs? I > noticed there a "rotatelogs" command but this one doesn't work from the > command line apparenly and I'd like to schedule a cron job to do that. > Thanks, > > ---Marius > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message