From owner-freebsd-stable@FreeBSD.ORG Fri Nov 25 00:47:47 2005 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 137CE16A436 for ; Fri, 25 Nov 2005 00:47:47 +0000 (GMT) (envelope-from distro.watch@msa.hinet.net) Received: from msr15.hinet.net (msr15.hinet.net [168.95.4.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 59AE443E50 for ; Fri, 25 Nov 2005 00:45:03 +0000 (GMT) (envelope-from distro.watch@msa.hinet.net) Received: from [192.168.1.180] (61-229-13-109.dynamic.hinet.net [61.229.13.109]) by msr15.hinet.net (8.9.3/8.9.3) with ESMTP id IAA06353 for ; Fri, 25 Nov 2005 08:44:50 +0800 (CST) From: Ladislav Bodnar Organization: DistroWatch To: freebsd-stable@freebsd.org Date: Fri, 25 Nov 2005 08:45:43 +0800 User-Agent: KMail/1.9 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200511250845.43542.distro.watch@msa.hinet.net> Subject: Rotating web server logs without restarting Apache X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Nov 2005 00:47:47 -0000 Hi, Every time my httpd-access.log file is rotated I need to restart Apache, otherwise it won't write into the new httpd-access.log file. Is there a way for Apache (version 2.0.55 on FreeBSD 6.0) to write to the new log file without the need to restart it? I restart it routinely from a cron job, but occasionally Apache fails to restart (or more precisely, if fails to shutdown completely before it is told to come up again). Thank you very much for your help.