From owner-freebsd-stable Sat Dec 1 12: 5:25 2001 Delivered-To: freebsd-stable@freebsd.org Received: from mighty.grot.org (mighty.grot.org [216.15.97.5]) by hub.freebsd.org (Postfix) with ESMTP id 633E637B419 for ; Sat, 1 Dec 2001 12:05:23 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by mighty.grot.org (Postfix) with ESMTP id EEC4F5E4E; Sat, 1 Dec 2001 12:05:22 -0800 (PST) Date: Sat, 01 Dec 2001 12:05:22 -0800 (PST) Message-Id: <20011201.120522.115951330.aditya@mighty.grot.org> To: leo@ktv.se Cc: freebsd-stable@FreeBSD.ORG Subject: Re: problem with apache log From: "R.P. Aditya" In-Reply-To: References: X-PGP-Key: http://www.grot.org/pubkey.asc X-PGP-Key-ID: 0x6405D8D5 X-Mailer: Mew version 3.0.50 on XEmacs 21.1.14 (Cuyahoga Valley) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi, This a question for freebsd-questions as it has nothing to do with -stable per se. However, this is because apache needs to know to log to the new file -- you can send it a "apachectl graceful" or see the advice at: http://httpd.apache.org/docs/misc/FAQ.html#rotate or search on your favorite search engine for "apache log rotation" (I log via mod_perl to an SQL database and so never have to hup apache as the file handle never changes...) Adi On Sat, 1 Dec 2001 21:00:31 +0100, "Leo De Geer" wrote: > Il get problem whit the access log every time the log turns over. I'm > using the newsyslog.conf and the line fore the log is > /var/log/httpd/httpd-access.log 644 7 * @T10 Z > after turn over I need to restart the apache to get it to log in the new > file > > Kristianstad Teknikverkstad > www.ktv.se > www.tekniks hoppen.nu > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message