From owner-freebsd-questions Sat May 24 07:55:40 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id HAA27780 for questions-outgoing; Sat, 24 May 1997 07:55:40 -0700 (PDT) Received: from horton.iaces.com (root@horton.iaces.com [204.147.87.98]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id HAA27774 for ; Sat, 24 May 1997 07:55:38 -0700 (PDT) Received: (from proot@localhost) by horton.iaces.com (8.8.5/8.8.4) id JAA14121; Sat, 24 May 1997 09:55:35 -0500 (CDT) From: "Paul T. Root" Message-Id: <199705241455.JAA14121@horton.iaces.com> Subject: Re: Any program to maintain logs? To: francisco@natserv.com Date: Sat, 24 May 1997 09:55:35 -0500 (CDT) Cc: questions@FreeBSD.ORG In-Reply-To: <199705240459.AAA10773@federation.addy.com> from Francisco Reyes at "May 24, 97 00:56:39 am" X-Organization: !nterprise Networking Services - ACES X-Phone: (612) 663-1979 X-Fax: (612) 663-8030 X-Page: (800) SKY-PAGE PIN: 537-7270 X-Address: 200 S. 5th St., Suite 1100 X-Address: Minneapolis, MN 55402 X-Mailer: ELM [version 2.4ME+ PL22 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk In a previous message, Francisco Reyes said: > Is there a program in FreeBSD that can be used to trimm log files? I am > interested in a program which could keep either a determined number of > lines per file or lines which are a determined number of days old. This is what /etc/daily, /etc/weekly and /etc/monthly do. I wrote a little script for machines that don't stay up all the time to run these, but I've misplaced it. Paul. -- The role of the military is not to be a repository for the silly social issues of the day, but to kill people and break things. -- Rush Limbaugh