Return-Path: Delivered-To: apmail-httpd-dev-archive@www.apache.org Received: (qmail 64656 invoked from network); 10 Feb 2007 10:01:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 10 Feb 2007 10:01:11 -0000 Received: (qmail 13030 invoked by uid 500); 10 Feb 2007 10:01:12 -0000 Delivered-To: apmail-httpd-dev-archive@httpd.apache.org Received: (qmail 12967 invoked by uid 500); 10 Feb 2007 10:01:11 -0000 Mailing-List: contact dev-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list dev@httpd.apache.org Received: (qmail 12956 invoked by uid 99); 10 Feb 2007 10:01:11 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 10 Feb 2007 02:01:11 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [195.22.128.145] (HELO beaujolais.extremis.net) (195.22.128.145) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 10 Feb 2007 02:01:01 -0800 Received: from localhost (localhost [127.0.0.1]) by beaujolais.extremis.net (Postfix) with ESMTP id 53DB272501 for ; Sat, 10 Feb 2007 09:58:14 +0000 (UTC) Received: from beaujolais.extremis.net ([195.22.128.145]) by localhost (beaujolais.extremis.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Vq9g1Dt50vrm for ; Sat, 10 Feb 2007 09:58:13 +0000 (UTC) Received: by beaujolais.extremis.net (Postfix, from userid 1010) id 42EA972535; Sat, 10 Feb 2007 09:58:13 +0000 (UTC) Date: Sat, 10 Feb 2007 09:58:13 +0000 From: George Cox To: dev@httpd.apache.org Subject: Re: Piped logger nightmares Message-ID: <20070210095813.GB41546@beaujolais.extremis.net> Reply-To: George Cox References: <459EE181.4000409@rowe-clan.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <459EE181.4000409@rowe-clan.net> X-Nethack: You feel like someone is making a pointless Nethack reference.--More-- X-Operating-System: FreeBSD X-Subliminal-Channel: Fnord User-Agent: Mutt/1.5.13 (2006-08-11) X-Virus-Checked: Checked by ClamAV on apache.org * William A. Rowe, Jr. [20070105 23:37] wrote: > http://svn.apache.org/viewvc?view=rev&sortby=date&revision=104019 > > is a complete disaster to Win32 as-a-service. It works fine from the > command line, but the lack of stdout/stderr channels causes cmd.exe "in a > service" appear to cause the CreateProcess of cmd.exe to implode. > > As I look at it, the choice to add another indirection between httpd and > the pipe process adds some horrible resource issues to the server, > especially with many, many separate rotated log files. Also, this extra I'm going to wade in here, and hopefully add something of value. If I don't, please flame as hard as you can etc. I've written a module which automatically rotates access logs. It's called mod_log_access, and the latest version is available at: http://www.gjvc.com/software/apache/modules/ It only does access logs, not error logs, for reasons people on this list will well understand, but if you have any preferences on how it should be done, please let me know. I would really like to see this (or something like it) added to httpd-trunk/ and would be happy to maintain it. Please reply off-list -- I don't mean to hijack the discussion. best; gjvc