From owner-freebsd-questions Tue Aug 24 9:29:58 1999 Delivered-To: freebsd-questions@freebsd.org Received: from ns.clientlogic.com (ns.clientlogic.com [207.51.66.75]) by hub.freebsd.org (Postfix) with ESMTP id 888FB15949 for ; Tue, 24 Aug 1999 09:28:06 -0700 (PDT) (envelope-from ChrisMic@clientlogic.com) Received: by site0s1 with Internet Mail Service (5.5.2448.0) id ; Tue, 24 Aug 1999 12:10:29 -0400 Message-ID: <6C37EE640B78D2118D2F00A0C90FCB4401105BD9@site2s1> From: Christopher Michaels To: 'Alejandro Ramirez' , "Lane Covington, Distance Education/Multi-Media Specilist" Cc: questions@FreeBSD.ORG Subject: RE: How to reset the log file in free-bsd. Date: Tue, 24 Aug 1999 12:13:05 -0400 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2448.0) Content-Type: text/plain Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Or just 'touch httpd-access.log' To restart apache, use apachectl restart. -Chris > -----Original Message----- > From: Alejandro Ramirez [SMTP:ales@megared.net.mx] > Sent: Wednesday, August 18, 1999 2:44 PM > To: jesusr@ncsa.es; Lane Covington, Distance Education/Multi-Media > Specilist > Cc: faq@FreeBSD.ORG; questions@FreeBSD.ORG > Subject: RE: How to reset the log file in free-bsd. > > 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 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message