Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Aug 1999 12:13:05 -0400
From:      Christopher Michaels <ChrisMic@clientlogic.com>
To:        'Alejandro Ramirez' <ales@megared.net.mx>, "Lane Covington, Distance Education/Multi-Media Specilist" <covingtl@mcc.montgomery.cc.nc.us>
Cc:        questions@FreeBSD.ORG
Subject:   RE: How to reset the log file in free-bsd.
Message-ID:  <6C37EE640B78D2118D2F00A0C90FCB4401105BD9@site2s1>

next in thread | raw e-mail | index | archive | help

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 <jesusr@ncsa.es>
> To: Lane Covington, Distance Education/Multi-Media Specilist
> <covingtl@mcc.montgomery.cc.nc.us>
> Cc: <faq@FreeBSD.ORG>; <questions@FreeBSD.ORG>
> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6C37EE640B78D2118D2F00A0C90FCB4401105BD9>