Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Nov 1996 09:19:32 +0100 (MEZ)
From:      "Hr.Ladavac" <lada@ws2301.gud.siemens.co.at>
To:        dwhite@resnet.uoregon.edu
Cc:        webmaster@secadmon.jalisco.gob.mx, questions@FreeBSD.org
Subject:   Re: Questions about the logs archives !!!
Message-ID:  <199611290819.AA011115572@ws2301.gud.siemens.co.at>
In-Reply-To: <Pine.BSI.3.94.961128224716.6734P-100000@gdi.uoregon.edu> from "Doug White" at Nov 28, 96 10:48:43 pm

next in thread | previous in thread | raw e-mail | index | archive | help
E-mail message from Doug White contained:
> On Thu, 28 Nov 1996, WebMaster wrote:
> 
> > Hi, i wiil like to know how do i replace a new Access_log instead of the 
> > one i had, is very big i i do not have much space to edit it.
> 
> If you don't want it anymore, note the owner, group, and permissions on
> the old file, then do:
> 
> rm access_log
> touch access_log
> chown owner:group access_log
> chmod u+w access_log

Or:

	su root
	cp /dev/null access_log

/Marino
> 
> > I erase the error_log, but i create a new one but it doesn4t write on it.
> 
> You need to put a 0-length file there before apache will remake it.  use
> the 'touch' command to make one.
> 
> Doug White                              | University of Oregon  
> Internet:  dwhite@resnet.uoregon.edu    | Residence Networking Assistant
> http://gladstone.uoregon.edu/~dwhite    | Computer Science Major
> 
> 




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