From owner-freebsd-questions@FreeBSD.ORG Wed Oct 19 09:06:01 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 635E716A41F for ; Wed, 19 Oct 2005 09:06:01 +0000 (GMT) (envelope-from rob@motionpath.com) Received: from caffeine.motionpath.com (caffeine.motionpath.com [217.147.83.28]) by mx1.FreeBSD.org (Postfix) with ESMTP id 39BB643D5D for ; Wed, 19 Oct 2005 09:05:55 +0000 (GMT) (envelope-from rob@motionpath.com) Received: from localhost (localhost [127.0.0.1]) by caffeine.motionpath.com (Postfix) with ESMTP id 56E78E041C; Wed, 19 Oct 2005 10:06:57 +0100 (BST) Received: from caffeine.motionpath.com ([127.0.0.1]) by localhost (caffeine.motionpath.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 69137-01; Wed, 19 Oct 2005 10:06:54 +0100 (BST) Received: from [10.172.221.245] (host-84-9-127-98.bulldogdsl.com [84.9.127.98]) by caffeine.motionpath.com (Postfix) with ESMTP id 91B33E0419; Wed, 19 Oct 2005 10:06:54 +0100 (BST) Message-ID: <43560C4B.3020406@motionpath.com> Date: Wed, 19 Oct 2005 10:05:15 +0100 From: Rob Pitt User-Agent: Mozilla Thunderbird 1.0.7 (X11/20051009) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Olivier Nicole References: <200510190854.j9J8sFum044816@banyan.cs.ait.ac.th> In-Reply-To: <200510190854.j9J8sFum044816@banyan.cs.ait.ac.th> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by Motionpath Digital Media Ltd mailer gateway at motionpath.com Cc: freebsd-questions@freebsd.org Subject: Re: Apache log rotation X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Oct 2005 09:06:01 -0000 Sending HUP is fine. Olivier Nicole wrote: >Hi, > >If one install Apache from the ports, the logs go in /var/log, namely >in: > >ssl_request_log >httpd-access.log >ssl_engine_log >httpd-error.log > >Is there a clean way to rotate these logs a la newsyslog? > >I know I can use newsyslog to rotate them, but then how to notify >Apache to use the new log files? I don't expect a signal HUP sent to >httpd would be enough. > >Best regards, > >Olivier > > >_______________________________________________ >freebsd-questions@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-questions >To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > >