From owner-freebsd-questions Mon Aug 23 23:31:22 1999 Delivered-To: freebsd-questions@freebsd.org Received: from gilliam.users.flyingcroc.net (gilliam.users.flyingcroc.net [207.246.128.2]) by hub.freebsd.org (Postfix) with ESMTP id 618DC1590D; Mon, 23 Aug 1999 23:29:09 -0700 (PDT) (envelope-from ross@gilliam.users.flyingcroc.net) Received: (from ross@localhost) by gilliam.users.flyingcroc.net (8.9.3/8.9.3) id XAA04683; Mon, 23 Aug 1999 23:28:18 -0700 (PDT) Date: Wed, 18 Aug 1999 11:44:22 -0700 (PDT) Message-Id: <199908240628.XAA04683@gilliam.users.flyingcroc.net> From: "Alejandro Ramirez" To: , "Lane Covington, Distance Education/Multi-Media Specilist" Cc: , Subject: RE: How to reset the log file in free-bsd. Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi, If you just want to clean up your file without deleting the file or having to kill the process, you coul try the following "cat /dev/null > httpd-access.log" and your file will be 0 length and working. Ales ----- Original Message ----- From: Jesus Rodriguez To: Lane Covington, Distance Education/Multi-Media Specilist Cc: ; Sent: Wednesday, August 18, 1999 1:14 PM Subject: RE: How to reset the log file in free-bsd. > > On 18-Aug-99 Lane Covington, Distance Education/Multi-Media Specilist wrote: > > I have a really large 85meg httpd-access.log file. How do I reset this > > log file after I have moved the file with mv httpd-access.log > > http-access.old and then compressed it. But could not determine how to > > signal free-bsd a process id with the kill -TERM 'cat httpd.pid' to > > start a new file. Did not see any reference to this in the handbooks. > > Could you reply please. > > Lane, Distance Education Tech > > Please, send this kind of questions to freebsd-questions@freebsd.org (included > now with CC). > > Thanks > JesusR. > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message