From owner-freebsd-questions@FreeBSD.ORG Wed Aug 20 14:09:29 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F3E44106567C for ; Wed, 20 Aug 2008 14:09:28 +0000 (UTC) (envelope-from riaank@gmail.com) Received: from yw-out-2324.google.com (yw-out-2324.google.com [74.125.46.29]) by mx1.freebsd.org (Postfix) with ESMTP id A6B918FC3D for ; Wed, 20 Aug 2008 14:09:28 +0000 (UTC) (envelope-from riaank@gmail.com) Received: by yw-out-2324.google.com with SMTP id 9so23107ywe.13 for ; Wed, 20 Aug 2008 07:09:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type:references; bh=ATnr1G1PMdJGLzcGpdnJ7/qXRyI3YJWvmVFOIzr1WLo=; b=as+w1/9w1YF4hoz0fRmNWlazoINt4oKQoefQ0anU1i0Vm0jBkGiQz/VtslYxD12nTG Rtv5+l/M+xsEqvfGms5CYG576HTBWqo+WE6pboJtidjBAfHQh/1mJBP2FChItpYDY3KR MB9Iu6BZLQkH90KRmmGtpM+xRLbwBhUXleybc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:references; b=lH/YBW77fnggBUFr2EfJdiIfRomyX7/JPLz2P0zYySEcLMW2FIHCu8+49P87kvEso0 VBglrx3dq2zLrtzZDe3SzC/X9cXUzW6P358RMmv9Iej4grnjfhlECVomJpyodiHbGVlJ habx7xwzYno4tD5k5SAHbzNFepuY8h0s8SqZA= Received: by 10.187.233.6 with SMTP id k6mr9642far.64.1219241367076; Wed, 20 Aug 2008 07:09:27 -0700 (PDT) Received: by 10.187.211.19 with HTTP; Wed, 20 Aug 2008 07:09:27 -0700 (PDT) Message-ID: <85c4b1850808200709y51e4f8f0g7961fecefdb126ed@mail.gmail.com> Date: Wed, 20 Aug 2008 16:09:27 +0200 From: "Riaan Kruger" To: "John Almberg" In-Reply-To: MIME-Version: 1.0 References: <482E252F-3819-46DD-A272-A174C1B41333@identry.com> <85c4b1850808200649l2cf42462nfa7d64fe09fa1253@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: rotatelogs is rotating too quickly... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Aug 2008 14:09:29 -0000 On Wed, Aug 20, 2008 at 4:03 PM, John Almberg wrote: > That does not look like 5 Meg but 5 Minutes. >> >> > I don't think so... From the man pages: > > CustomLog "|bin/rotatelogs /var/logs/logfile 5M" common > > This configuration will rotate the logfile whenever it reaches a > size > of 5 megabytes. > > ErrorLog "|bin/rotatelogs /var/logs/errorlog.%Y-%m-%d-%H_%M_%S > 5M" > > This configuration will rotate the error logfile whenever it reaches > a > size of 5 megabytes, and the suffix to the logfile name will be > created > of the form errorlog.YYYY-mm-dd-HH_MM_SS. > > Oops sorry. Didn't look close. Initial "inspection" of log file times looked like 5 mins. Riaan.