From owner-freebsd-current@FreeBSD.ORG Sat Jun 12 19:55:25 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BE01216A4CE for ; Sat, 12 Jun 2004 19:55:25 +0000 (GMT) Received: from smtp4.server.rpi.edu (smtp4.server.rpi.edu [128.113.2.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5192243D1D for ; Sat, 12 Jun 2004 19:55:25 +0000 (GMT) (envelope-from gad@FreeBSD.org) Received: from [128.113.24.47] (gilead.netel.rpi.edu [128.113.24.47]) by smtp4.server.rpi.edu (8.12.8/8.12.8) with ESMTP id i5CJs3Od020635 for ; Sat, 12 Jun 2004 15:54:03 -0400 Mime-Version: 1.0 X-Sender: gad@gilead.netel.rpi.edu (Unverified) Message-Id: Date: Sat, 12 Jun 2004 15:54:02 -0400 To: current@FreeBSD.org From: Garance A Drosehn Content-Type: text/plain; charset="us-ascii" ; format="flowed" X-Scanned-By: CanIt (www . canit . ca) Subject: Minor HEADSUP - "New order" for newsyslog X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Jun 2004 19:55:25 -0000 I have flipped the switch in newsyslog, so it will now use the "neworder" of performing it's tasks (rotating files, signaling daemons, compressing files). If anyone is particularly curious of tracking what the difference is on their machines, I have a testing script in: http://people.freebsd.org/~gad/newsyslog/newsyslog-TT If you are up-to-date with newsyslog on current, you could: newsyslog-TT diff /var/tmp/log-nsl/standard /var/tmp/log-nsl/neworder and you will see the difference in what would happen. By default that script using '-nv', so it will not rotate any files. And of course, if you run it when you have no files to rotate, then there will be no difference in the output... If you're more adventurous, you could put an entry in syslog to run it every hour, and have it log the resulting changes for every regular run of newsyslog. That's how I've been running the script for the past week or two. READ the script itself for details. Note: so far I haven't seen any bugs in my neworder changes to newsyslog.c, but it took me more than a week before I got this stupid script to work exactly as I wanted it to... If you suspect something wrong with how the "neworder" is working, you can add the line: oldorder to your /etc/newsyslog/conf file. However, that is a temporary option, and I expect to remove it after a few weeks. So, if you *do* think there is a problem with the neworder-processing, you should let me know about it. -- Garance Alistair Drosehn = gad@gilead.netel.rpi.edu Senior Systems Programmer or gad@FreeBSD.org Rensselaer Polytechnic Institute; Troy, NY; USA