From owner-freebsd-isp Tue May 29 10:20: 9 2001 Delivered-To: freebsd-isp@freebsd.org Received: from digitaldaemon.com (digitaldaemon.com [63.105.9.34]) by hub.freebsd.org (Postfix) with SMTP id 4AC6E37B62F for ; Tue, 29 May 2001 10:19:49 -0700 (PDT) (envelope-from jan@digitaldaemon.com) Received: (qmail 64617 invoked from network); 29 May 2001 17:18:47 -0000 Received: from unknown (HELO digitaldaemon.com) (192.168.0.73) by digitaldaemon.com with SMTP; 29 May 2001 17:18:47 -0000 Message-ID: <3B13D9D2.5060100@digitaldaemon.com> Date: Tue, 29 May 2001 13:18:10 -0400 From: Jan Knepper User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; m18) Gecko/20010131 Netscape6/6.01 X-Accept-Language: en MIME-Version: 1.0 To: Simon Cc: FreeBSD-ISP Subject: Re: Log file rotation with Apache. References: <20010529171239.CB61837B43C@hub.freebsd.org> Content-Type: multipart/alternative; boundary="------------070805010904050409080309" Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org --------------070805010904050409080309 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Well what I want to solve is the size of the log files. What I remember from the Webalizer docco is that it will scan .gz log files. I run Apache and Webalizer on the same .log files and have not seen any problems with that yet. What my current problem is is that I would like to rotate the apache log files without having to touch apache. Jan Simon wrote: > What we do is rename *.log to *.log.resolve, restart apache, run webalizer on *.log.resolve. > > -Simon > > On Tue, 29 May 2001 13:05:32 -0400, Jan Knepper wrote: > >> Hi! >> >> Does any of you know about a "clean" way to do log file for Apache >> without disrupting webalizer? >> >> I have tried to just run newsyslog on them as I would like this best, >> but Apache seems to stop logging after the first trim. I know I can >> reset Apache with a "kill -1", but don't think that's exactly the way I >> would like to resolve that problem. >> >> Thanks! >> Jan >> >> >> To Unsubscribe: send mail to majordomo@FreeBSD.org >> with "unsubscribe freebsd-isp" in the body of the message >> > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-isp" in the body of the message > > > --------------070805010904050409080309 Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit Well what I want to solve is the size of the log files.
What I remember from the Webalizer docco is that it will scan .gz log files.
I run Apache and Webalizer on the same .log files and have not seen any problems with that yet.

What my current problem is is that I would like to rotate the apache log files without having to touch apache.

Jan



Simon wrote:
What we do is rename *.log to *.log.resolve, restart apache, run webalizer on *.log.resolve.

-Simon

On Tue, 29 May 2001 13:05:32 -0400, Jan Knepper wrote:

Hi!

Does any of you know about a "clean" way to do log file for Apache
without disrupting webalizer?

I have tried to just run newsyslog on them as I would like this best,
but Apache seems to stop logging after the first trim. I know I can
reset Apache with a "kill -1", but don't think that's exactly the way I
would like to resolve that problem.

Thanks!
Jan


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isp" in the body of the message





To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isp" in the body of the message




--------------070805010904050409080309-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message