From owner-freebsd-questions Thu Dec 6 8:21:15 2001 Delivered-To: freebsd-questions@freebsd.org Received: from tholian.rsasecurity.com (mail.rsasecurity.com [204.167.112.129]) by hub.freebsd.org (Postfix) with SMTP id 1B1E537B41F for ; Thu, 6 Dec 2001 08:21:00 -0800 (PST) Received: from sdtihq24.securitydynamics.com by tholian.rsasecurity.com via smtpd (for [216.136.204.18]) with SMTP; 6 Dec 2001 16:20:54 UT Received: from ebola.securitydynamics.com (ebola.securid.com [192.168.7.4]) by sdtihq24.securid.com (Pro-8.9.3/Pro-8.9.3) with ESMTP id LAA01785 for ; Thu, 6 Dec 2001 11:20:58 -0500 (EST) Received: from spirit.dynas.se (localhost [127.0.0.1]) by ebola.securitydynamics.com (8.10.2+Sun/8.9.1) with SMTP id fB6GKt327914 for ; Thu, 6 Dec 2001 11:20:55 -0500 (EST) Received: (qmail 27632 invoked from network); 6 Dec 2001 16:20:54 -0000 Received: from explorer.rsa.com (HELO mikko.rsa.com) (10.81.217.59) by spirit.dynas.se with SMTP; 6 Dec 2001 16:20:54 -0000 Received: (from mikko@localhost) by mikko.rsa.com (8.11.6/8.11.6) id fB6GKpd75928; Thu, 6 Dec 2001 08:20:51 -0800 (PST) (envelope-from mikko) Date: Thu, 6 Dec 2001 08:20:51 -0800 (PST) From: Mikko Tyolajarvi Message-Id: <200112061620.fB6GKpd75928@mikko.rsa.com> To: johnhoover@home.com Cc: questions@freebsd.org Subject: Re: newsyslog - backup logfile question Newsgroups: local.freebsd.questions References: <001c01c17e66$52467e00$c801a8c0@internal.unknown> X-Newsreader: NN version 6.5.6 (NOV) 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 In local.freebsd.questions you write: >ok, this is a little off (but at least near) topic, >has anyone considered using "logrotate" from the Linux world. >It allows for a pre and post section for commands to handle most >of what I think is being considered here. newsyslog(8) rotates logs. What else would you like it to do? >and something else that has struck me as odd, (coming from a Linux world) >why is there not a consistent centralized log rotating function within >FreeBSD? >question comes from finding "*.old", "*.yesterday", "*.1" log files. There is. man newsyslog, more /etc/newsyslog.conf The ".today" and ".yesterday" files are not rotated log files per se, they represent "state" used by some scripts run daily, to catch changes during the last 24hrs. Don't have any ".old" on any of my boxes. $.02, /Mikko -- Mikko Työläjärvi_______________________________________mikko@rsasecurity.com RSA Security To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message