Return-Path: X-Original-To: apmail-httpd-dev-archive@www.apache.org Delivered-To: apmail-httpd-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 3CEDE10F67 for ; Thu, 26 Sep 2013 19:17:48 +0000 (UTC) Received: (qmail 47806 invoked by uid 500); 26 Sep 2013 19:17:45 -0000 Delivered-To: apmail-httpd-dev-archive@httpd.apache.org Received: (qmail 47722 invoked by uid 500); 26 Sep 2013 19:17:45 -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 47712 invoked by uid 99); 26 Sep 2013 19:17:43 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Sep 2013 19:17:43 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy includes SPF record at spf.trusted-forwarder.org) Received: from [173.201.193.107] (HELO p3plsmtpa08-06.prod.phx3.secureserver.net) (173.201.193.107) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Sep 2013 19:17:38 +0000 Received: from hub ([76.252.112.72]) by p3plsmtpa08-06.prod.phx3.secureserver.net with id VvHF1m0071Zmh9Y01vHGQ3; Thu, 26 Sep 2013 12:17:17 -0700 Date: Thu, 26 Sep 2013 14:17:12 -0500 From: "William A. Rowe Jr." To: dev@httpd.apache.org Cc: jkaluza@redhat.com Subject: Re: any interest in massaging the new error log provider to fit into 2.4.x? Message-ID: <20130926141712.7199dde8@hub> In-Reply-To: <52412C03.2030009@redhat.com> References: <52412C03.2030009@redhat.com> X-Mailer: Claws Mail 3.9.2 (GTK+ 2.24.19; x86_64-redhat-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org On Tue, 24 Sep 2013 08:06:59 +0200 Jan Kalu=C5=BEa wrote: > On 09/23/2013 09:30 PM, Ivan Zhakov wrote: > > On 23 September 2013 23:13, Jeff Trawick wrote: > >> On Mon, Sep 23, 2013 at 2:54 PM, Ivan Zhakov > >> wrote: > >>> > >>> On 23 September 2013 22:35, Jeff Trawick > >>> wrote: > >>>> > >>>> In 2.4 the syslog logging wouldn't be implemented as a provider, > >>>> the ErrorLog directive parser would be different, new structure > >>>> fields would be at the end, but otherwise it shouldn't be hard :) > >>>> > >>> > >>> It could be theoretical backward compatibility issue if someone > >>> uses log named the same as some provider. Why not add new > >>> directive LogProvider? > >> > >> > >> I've never seen a log file within the ServerRoot directory. The > >> risk of such a configuration and it matching a provider actually > >> loaded seems low enough (and with an easy enough workaround) to > >> forgo having a different configuration directives between > >> 2.4/next-major-release. > >> > >> But maybe > >> > >> ErrorLogProvider provider-name arg1-n > >> > >> would be nicer anyway (same in all applicable branches). > >> > > Another option to use ':' to separate log provider and arguments. > > Like ErrorLog syslog:arg1-n. It could be useful when log destination > > specified in command line using '-E' option: > > httpd -E "syslog:" or httpd -E "eventlog:Apache2" when Windows Event > > log provider will be implemented. >=20 > That's what I use in my patch currently in trunk. You can even write=20 > "ErrorLog file:logs/error_log", but for backward compatibility > "ErrorLog logs/error_log" works too. >=20 > Or do you mean you would force ':' suffix even when there are no=20 > arguments for log provider? You realize : is a problematic overload for Netware (and in theory for Win32 unless you dodge the X: single-char drive letter bullet)? What about a "[provider]path syntax" instead? Any other good ideas? A notoriously bad idea was the (size) overload of the SSLSessionCache directive.