Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 24 May 1997 10:38:09 +0200 (CEST)
From:      Sascha Blank <blank@sliphost37.uni-trier.de>
To:        francisco@natserv.com
Cc:        questions@FreeBSD.ORG
Subject:   Re: Any program to maintain logs?
Message-ID:  <199705240838.KAA16726@sliphost37.uni-trier.de>
In-Reply-To: <199705240459.AAA10773@federation.addy.com> from Francisco Reyes at "May 24, 97 00:56:39 am"

next in thread | previous in thread | raw e-mail | index | archive | help
Hello Francisco,

Francisco Reyes has written recently:
> 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.

if you are talking about system log files, then FreeBSD already offers
such a fine tool: it's called newsyslog(1). It's in 2.2.x for sure, and
if I'm not mistaken also in 2.1.x. In addition to this it will handle
also many "user generated" log files.

-- 
             Sascha Blank - mailto:blank@fox.uni-trier.de
  Student and System Administrator at the University of Trier, Germany
            Finger my account to receive my Public PGP key
   I don't speak for my employers, they don't pay me enough for that.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199705240838.KAA16726>