Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Nov 1996 09:03:51 +0000
From:      Paul Walsh <paul@nation-net.com>
To:        questions@freebsd.org
Subject:   Re: Questions about the logs archives !!!
Message-ID:  <329EA6F7.3779@nation-net.com>
References:  <199611290819.AA011115572@ws2301.gud.siemens.co.at>

next in thread | previous in thread | raw e-mail | index | archive | help
Don't you have to 'kill -hup' httpd in order to tell it about the new 
log file(s) address?

Paul Walsh.

Hr.Ladavac wrote:
> 
> 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?329EA6F7.3779>