Return-Path: X-Original-To: apmail-httpd-docs-archive@www.apache.org Delivered-To: apmail-httpd-docs-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E56789F74 for ; Mon, 28 Nov 2011 16:22:12 +0000 (UTC) Received: (qmail 54687 invoked by uid 500); 28 Nov 2011 16:22:12 -0000 Delivered-To: apmail-httpd-docs-archive@httpd.apache.org Received: (qmail 54602 invoked by uid 500); 28 Nov 2011 16:22:12 -0000 Mailing-List: contact docs-help@httpd.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: docs@httpd.apache.org List-Id: Delivered-To: mailing list docs@httpd.apache.org Received: (qmail 54592 invoked by uid 99); 28 Nov 2011 16:22:12 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 28 Nov 2011 16:22:12 +0000 X-ASF-Spam-Status: No, hits=-2.3 required=5.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.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; Mon, 28 Nov 2011 16:22:06 +0000 Received: from [10.1.1.6] (helo=k.localnet) by eru.sfritsch.de with esmtp (Exim 4.72) (envelope-from ) id 1RV3xg-0003MV-7k for docs@httpd.apache.org; Mon, 28 Nov 2011 17:21:44 +0100 From: Stefan Fritsch To: docs@httpd.apache.org Subject: Re: Error codes Date: Mon, 28 Nov 2011 17:21:43 +0100 User-Agent: KMail/1.13.7 (Linux/3.1.0-1-amd64; KDE/4.6.5; x86_64; ; ) References: In-Reply-To: MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Message-Id: <201111281721.43694.sf@sfritsch.de> On Monday 28 November 2011, Rich Bowen wrote: > 1) Create file in svn that lists sequential error codes so that we > know what the next number is. The file should list error code and > the file in which it is used. Should probably also list line > number, although that changes over time, so it's approximate. The file names and line numbers can easily be extracted by a script (I am volunteering to write it), no need to track these manually. > 2) Find all calls to *_log_?error (Stefan says there's 2700+ such > calls!) and add the next error code to the beginning of the > message. In parens, perhaps?. Update the file in #1. I would prefer "AH1234: Don't panic". It's one character shorter than "(AH1234) Don't panic" and horizontal screen space is always short when viewing the error log. A question on procedure: Do you want to add all error codes at once and then fill in the descriptions or add the error codes as the documentation evolves? If the former, some scripting would probably save a lot of work, too. I am not sure that every debug message needs a code, maybe one could at first only tag those of level info or higher? Or maybe even warning? --------------------------------------------------------------------- To unsubscribe, e-mail: docs-unsubscribe@httpd.apache.org For additional commands, e-mail: docs-help@httpd.apache.org