From owner-freebsd-isp Tue May 29 10:26:35 2001 Delivered-To: freebsd-isp@freebsd.org Received: from anaconda.acceleratedweb.net (anaconda.acceleratedweb.net [209.51.164.130]) by hub.freebsd.org (Postfix) with SMTP id 7CA1837B443 for ; Tue, 29 May 2001 10:26:29 -0700 (PDT) (envelope-from simon@optinet.com) Received: (qmail 43991 invoked by uid 106); 29 May 2001 17:27:22 -0000 Received: from 66-65-36-21.nyc.rr.com (HELO sharky) (66.65.36.21) by anaconda.acceleratedweb.net with SMTP; 29 May 2001 17:27:22 -0000 From: "Simon" To: "Jan Knepper" Cc: "FreeBSD-ISP" Date: Tue, 29 May 2001 13:30:40 -0400 Reply-To: "Simon" X-Mailer: PMMail 2000 Professional (2.10.2010) For Windows 2000 (5.0.2195) In-Reply-To: <3B13D9D2.5060100@digitaldaemon.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="_=_=_=IMA.BOUNDARY.HTML_29527792=_=_=_" Subject: Re: Log file rotation with Apache. Message-Id: <20010529172629.7CA1837B443@hub.freebsd.org> 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 --_=_=_=IMA.BOUNDARY.HTML_29527792=_=_=_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit How often do you run webalizer? i doubt there is a way to rotate the log files without touching apache. It won't know what to do once the log file is gone. If you simply rename and then compress, apache will still append to the same file and will therefore corrupt it. -Simon --Original Message Text--- From: Jan Knepper Date: Tue, 29 May 2001 13:18:10 -0400 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 --_=_=_=IMA.BOUNDARY.HTML_29527792=_=_=_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: 7bit
How often do you run webalizer? i doubt there is a way to
rotate the log files without touching apache. It won't know
what to do once the log file is gone. If you simply rename
and then compress, apache will still append to the same
file and will therefore corrupt it.

-Simon

--Original Message Text---
From: Jan Knepper
Date: Tue, 29 May 2001 13:18:10 -0400

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







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