From owner-freebsd-questions Fri Nov 29 01:05:56 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id BAA10194 for questions-outgoing; Fri, 29 Nov 1996 01:05:56 -0800 (PST) Received: from www.nation-net.com (www.nation-net.com [194.159.125.1]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id BAA10185 for ; Fri, 29 Nov 1996 01:05:52 -0800 (PST) Received: from mag.nation-net.com (194.159.125.14) by www.nation-net.com with SMTP (Apple Internet Mail Server 1.0); Fri, 29 Nov 1996 09:09:15 +0000 Message-ID: <329EA6F7.3779@nation-net.com> Date: Fri, 29 Nov 1996 09:03:51 +0000 From: Paul Walsh Organization: NATION-NET X-Mailer: Mozilla 2.0 (Win95; I) MIME-Version: 1.0 To: questions@freebsd.org Subject: Re: Questions about the logs archives !!! References: <199611290819.AA011115572@ws2301.gud.siemens.co.at> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk 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 > > > >