From owner-freebsd-questions Thu Jun 29 13:18:41 2000 Delivered-To: freebsd-questions@freebsd.org Received: from wormhole.bluestar.net (wormhole.bluestar.net [208.53.1.61]) by hub.freebsd.org (Postfix) with ESMTP id 516D337BC69 for ; Thu, 29 Jun 2000 13:18:37 -0700 (PDT) (envelope-from drew@planetwe.com) Received: from planetwe.com (admin.planetwe.com [64.182.69.146]) by wormhole.bluestar.net (8.10.1/8.10.1) with ESMTP id e5TKID724561 for ; Thu, 29 Jun 2000 15:18:23 -0500 (CDT) Message-ID: <395BAFAC.2769ADA5@planetwe.com> Date: Thu, 29 Jun 2000 15:21:01 -0500 From: Drew Sanford X-Mailer: Mozilla 4.72 [en] (X11; I; Linux 2.2.12 i386) X-Accept-Language: en MIME-Version: 1.0 To: questions@freebsd.org Subject: Zero'ing out files Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Is there a way to zero out a file, and still leave it open, say for an apache access log? If there is a simple way to rotate the access logs (is there a way to make newsyslog work for this?) then you can answer that one two if you like. My git instinct is that I'm going to have to write a script and let cron run it, because I simply haven't seen anything besides newsyslog that archives the old logs. Thanks in advance for any help you can offer. -- Drew Sanford Systems Administrator Planetwe.com Email: drew@planetwe.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message