Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@www.apache.org Received: (qmail 17972 invoked from network); 9 Jun 2005 09:04:04 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 9 Jun 2005 09:04:04 -0000 Received: (qmail 26751 invoked by uid 500); 9 Jun 2005 09:03:49 -0000 Delivered-To: apmail-jakarta-tomcat-user-archive@jakarta.apache.org Received: (qmail 26735 invoked by uid 500); 9 Jun 2005 09:03:49 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Tomcat Users List" Reply-To: "Tomcat Users List" Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 26717 invoked by uid 99); 9 Jun 2005 09:03:49 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=RCVD_BY_IP,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of tkchiew@gmail.com designates 64.233.184.199 as permitted sender) Received: from wproxy.gmail.com (HELO wproxy.gmail.com) (64.233.184.199) by apache.org (qpsmtpd/0.28) with ESMTP; Thu, 09 Jun 2005 02:03:46 -0700 Received: by wproxy.gmail.com with SMTP id 71so33892wri for ; Thu, 09 Jun 2005 02:03:35 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=OekP/90QTjKR96GNFR8ZmX5va61fYBRHfoRhppa0fwBiXz8TTAxC4bqUj8LU53dEtA//bE+bkH1TZsmRIfhGbe8nmUvK61gpvNxftjqxxUT+Qfq2vl64oTLVAl3EfdJj+Qn0lA4eaVzpgR64LTdABsRETLeFgb2Tv+tfKHGsUqE= Received: by 10.54.71.7 with SMTP id t7mr235858wra; Thu, 09 Jun 2005 02:03:35 -0700 (PDT) Received: by 10.54.15.53 with HTTP; Thu, 9 Jun 2005 02:03:35 -0700 (PDT) Message-ID: <233e0370050609020332c3f7b1@mail.gmail.com> Date: Thu, 9 Jun 2005 10:03:35 +0100 From: TK Reply-To: TK To: Tomcat Users List Subject: Re: Logging Server Responses In-Reply-To: <42A5B46A.5050804@joedog.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <233e0370050607074413d02d5d@mail.gmail.com> <42A5B46A.5050804@joedog.org> X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Is the time recorded (using %D) includes time taken for middleware/application server and database processings? On 6/7/05, Tim Funk wrote: > See > http://jakarta.apache.org/tomcat/tomcat-5.0-doc/catalina/docs/api/org/apa= che/catalina/valves/AccessLogValve.html >=20 > In particular: > %D - Time taken to process the request, in millis > %T - Time taken to process the request, in seconds >=20 > Otherwise use a filter and rely on: > %{xxx}r >=20 > -Tim >=20 > TK wrote: >=20 > > Hi, > > I'm looking for ways to log server (Tomcat) responses so that I could > > figure out the time taken (in ms) for Tomcat to process a client > > request. The information I need to record include: > > > > 1. Request ID (e.g. client IP address and object requested), > > 2. Date and time (in ms) the request is received, > > 3. Date and time (in ms) the corresponding response is sent. > > >=20 > --------------------------------------------------------------------- > To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org > For additional commands, e-mail: tomcat-user-help@jakarta.apache.org >=20 > --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-user-help@jakarta.apache.org