Return-Path: X-Original-To: apmail-tomcat-dev-archive@www.apache.org Delivered-To: apmail-tomcat-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 31FA510B5A for ; Thu, 20 Jun 2013 21:23:42 +0000 (UTC) Received: (qmail 67919 invoked by uid 500); 20 Jun 2013 21:23:41 -0000 Delivered-To: apmail-tomcat-dev-archive@tomcat.apache.org Received: (qmail 67861 invoked by uid 500); 20 Jun 2013 21:23:41 -0000 Mailing-List: contact dev-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Developers List" Delivered-To: mailing list dev@tomcat.apache.org Received: (qmail 67852 invoked by uid 99); 20 Jun 2013 21:23:41 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 20 Jun 2013 21:23:41 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW X-Spam-Check-By: apache.org Received-SPF: error (nike.apache.org: local policy) Received: from [209.85.160.52] (HELO mail-pb0-f52.google.com) (209.85.160.52) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 20 Jun 2013 21:23:34 +0000 Received: by mail-pb0-f52.google.com with SMTP id xa12so6698602pbc.39 for ; Thu, 20 Jun 2013 14:22:52 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=sender:content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer :x-gm-message-state; bh=SwMXGwBEl/lzbzewB9XR7wYasY1tR/NyHtywgtVGvC8=; b=ewTkKW/b93b31joshq8nZFnmRlzv353DRUGadptWekvmaYB5ajISaTAdNjaMbQqAf6 qyyj6DOZZrTwPSaY/ad0fqz40q9sPWgd7fRGxTKWWEWM9T5ACxowTorTmjjtWVV25IbQ Nfq+3qKNzQ5TjfodAG6Ze9nCoQyTbwqkpls3xajtZMfHImFnKhzYtoo7zA/Y8m5eY6fq AbU9Iv41LC0SiriGwlSiP1a5/BxS6zZ6mZ+Fa6i5dmk6pBmh/v7e7ApfbrGzp7b1VCd/ kzvpsjsWivzqgLqaCpeqgTf4EFcwhXk+YmRC7Bt2UmXwAoOmgpGLU3pFiQ0w/7+hVEMP e9sg== X-Received: by 10.66.163.38 with SMTP id yf6mr13116558pab.45.1371763372713; Thu, 20 Jun 2013 14:22:52 -0700 (PDT) Received: from [10.0.1.22] (c-24-16-133-248.hsd1.wa.comcast.net. [24.16.133.248]) by mx.google.com with ESMTPSA id ib9sm1658121pbc.43.2013.06.20.14.22.50 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 20 Jun 2013 14:22:51 -0700 (PDT) Sender: Jeremy Boynes Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 6.5 \(1508\)) Subject: Re: [Bug 55102] New: Add ability to report time taken to prepare response From: Jeremy Boynes In-Reply-To: Date: Thu, 20 Jun 2013 14:22:50 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: <00061128-0D63-4FD2-87A5-3B164147CC20@apache.org> References: To: "Tomcat Developers List" X-Mailer: Apple Mail (2.1508) X-Gm-Message-State: ALoCoQlkMCgonBmaz86N3RYZitQwMyb4t2ePXDdrkschIjw0qBDD08S+MIx+1yWQT0b7Xhu0Xb8Y X-Virus-Checked: Checked by ClamAV on apache.org On Jun 15, 2013, at 10:09 AM, bugzilla@apache.org wrote: > https://issues.apache.org/bugzilla/show_bug.cgi?id=3D55102 > Summary: Add ability to report time taken to prepare = response >=20 > Created attachment 30438 > --> = https://issues.apache.org/bugzilla/attachment.cgi?id=3D30438&action=3Dedit= > Patch against trunk@r1493385 to record and output time to commit >=20 > Tomcat's AccessLogValve is able to report the time taken to send an = entire > request using %D. This is the total processing time and may be = affected by > network conditions. It is sometimes useful to be able to record the = time taken > by the server to prepare the response and send the first content to = the client. >=20 > Attached is a patch that records the time the response is committed = and then > allows that to be reported in the access log using a '%F' pattern = (which is the > same as used by the mod-log-firstbyte module for HTTPD). Any thoughts on this patch? Is it suitable for trunk, and if so should I = commit it? Is this something worth back porting to 7.0? Thanks Jeremy --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org For additional commands, e-mail: dev-help@tomcat.apache.org