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 6B8E390DE for ; Mon, 19 Sep 2011 18:18:20 +0000 (UTC) Received: (qmail 62884 invoked by uid 500); 19 Sep 2011 18:18:20 -0000 Delivered-To: apmail-httpd-docs-archive@httpd.apache.org Received: (qmail 62823 invoked by uid 500); 19 Sep 2011 18:18:19 -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 62814 invoked by uid 99); 19 Sep 2011 18:18:19 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 19 Sep 2011 18:18:19 +0000 X-ASF-Spam-Status: No, hits=0.7 required=5.0 tests=RCVD_IN_DNSWL_NONE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [173.201.192.107] (HELO p3plsmtpa06-06.prod.phx3.secureserver.net) (173.201.192.107) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 19 Sep 2011 18:18:11 +0000 Received: (qmail 22384 invoked from network); 19 Sep 2011 18:17:49 -0000 Received: from unknown (76.252.112.72) by p3plsmtpa06-06.prod.phx3.secureserver.net (173.201.192.107) with ESMTP; 19 Sep 2011 18:17:49 -0000 Message-ID: <4E77874C.6010508@rowe-clan.net> Date: Mon, 19 Sep 2011 13:17:48 -0500 From: "William A. Rowe Jr." User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:6.0.2) Gecko/20110902 Thunderbird/6.0.2 MIME-Version: 1.0 To: docs@httpd.apache.org Subject: Re: Documentation clarification: ErrorLogFormat References: <0E84B905-3CA3-48B4-9473-0CCFDECF167C@rcbowen.com> In-Reply-To: <0E84B905-3CA3-48B4-9473-0CCFDECF167C@rcbowen.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 9/17/2011 9:56 PM, Rich Bowen wrote: > In the documentation for the ErrorLogFormat directive, log format strings are given as, for example, %...A > > What does the ... signify? Modifiers Particular items can be restricted to print only for responses with specific HTTP status codes by placing a comma-separated list of status codes immediately following the "%". For example, "%400,501{User-agent}i" logs User-agent on 400 errors and 501 errors only. For other status codes, the literal string "-" will be logged. The status code list may be preceded by a "!" to indicate negation: "%!200,304,302{Referer}i" logs Referer on all requests that do not return one of the three specified codes. The modifiers "<" and ">" can be used for requests that have been internally redirected to choose whether the original or final (respectively) request should be consulted. By default, the % directives %s, %U, %T, %D, and %r look at the original request while all others look at the final request. So for example, %>s can be used to record the final status of the request and %