Return-Path: Delivered-To: apmail-httpd-dev-archive@www.apache.org Received: (qmail 78547 invoked from network); 5 Sep 2010 15:49:38 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 5 Sep 2010 15:49:38 -0000 Received: (qmail 20244 invoked by uid 500); 5 Sep 2010 15:49:37 -0000 Delivered-To: apmail-httpd-dev-archive@httpd.apache.org Received: (qmail 20112 invoked by uid 500); 5 Sep 2010 15:49:37 -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 20104 invoked by uid 99); 5 Sep 2010 15:49:37 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 05 Sep 2010 15:49:37 +0000 X-ASF-Spam-Status: No, hits=-2.3 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [188.40.99.202] (HELO eru.sfritsch.de) (188.40.99.202) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 05 Sep 2010 15:49:29 +0000 Received: from [10.1.1.6] (helo=k.localnet) by eru.sfritsch.de with esmtp (Exim 4.69) (envelope-from ) id 1OsHSv-0004D4-2A for dev@httpd.apache.org; Sun, 05 Sep 2010 17:49:09 +0200 From: Stefan Fritsch To: dev@httpd.apache.org Subject: Re: Configurable error log format Date: Sun, 5 Sep 2010 17:49:06 +0200 User-Agent: KMail/1.13.5 (Linux/2.6.32-5-amd64; KDE/4.4.5; x86_64; ; ) References: <201008182031.45169.sf@sfritsch.de> In-Reply-To: <201008182031.45169.sf@sfritsch.de> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201009051749.06927.sf@sfritsch.de> X-Virus-Checked: Checked by ClamAV on apache.org On Wednesday 18 August 2010, Stefan Fritsch wrote: > I intend to commit it to trunk after I have written some docs and > 2.3.7 is tagged. It duplicates some code from mod_log_config. If > there are enough people interested in unifying the log formaters > for access and error logs, we can do that work in trunk. > Personally, I don't think it's necessary for 2.4. This took a bit longer than anticipated but it is now commited to trunk. There are a still a few open issues but those can be resolved while the code receives more testing in trunk: - there is no way yet to match the default format's behaviour of logging the source file info only for loglevel debug and higher - the syntax of the arguments %t (current time) should be more in line with mod_log_config's %t syntax - there is some documentation in mod/core.xml but logs.xml still needs updating - I am not sure that putting the module name before the loglevel in the default format is the best solution: [mpm_prefork:notice] - it should be possible to use the unique ID as error log ID if mod_unique_id is loaded Cheers, Stefan