Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 55415 invoked from network); 18 Feb 2011 07:06:45 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 18 Feb 2011 07:06:45 -0000 Received: (qmail 2917 invoked by uid 500); 18 Feb 2011 07:06:41 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 2479 invoked by uid 500); 18 Feb 2011 07:06:36 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 2465 invoked by uid 99); 18 Feb 2011 07:06:35 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 Feb 2011 07:06:35 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of coyas@hua.gr designates 195.130.90.41 as permitted sender) Received: from [195.130.90.41] (HELO planet.hua.gr) (195.130.90.41) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 Feb 2011 07:06:29 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: quoted-printable Content-class: urn:content-classes:message X-MimeOLE: Produced By Microsoft Exchange V6.5 Subject: AccessLogValve pattern (timestamp, bytes sent and time taken) Date: Fri, 18 Feb 2011 09:06:04 +0200 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: AccessLogValve pattern (timestamp, bytes sent and time taken) Thread-Index: AcvPOk6vSxOMCi6kTRWOgSK5wYvZfg== From: "??G??S ???O???S" To: Cc: "??G??S ???O???S" Tomcat 5.5 or 6.0 Win XP or Vista (32) I've read the configuration = (http://tomcat.apache.org/tomcat-5.5-doc/config/valve.html) and the api = (http://tomcat.apache.org/tomcat-5.5-doc/catalina/docs/api/org/apache/cat= alina/valves/AccessLogValve.html) but there are some details that are = not specified: timestamp (%t in pattern) In apache documentation it is stated that this is the time that the = request was received. I'd like some simple confirmation that this also = holds true for the tomcat (and is not, for example, the time that the = response was sent). bytes sent (either %b or %B in pattern) Is this the number of bytes actually sent to the client, or simply the = size in bytes of the HTTP response (which will differ, for instance, if = the connection is aborted)? The apache httpd 2.0 provides the %O format = as well to distinguish between these two cases, whereas in 1.3 it = didn't. Since tomcat does not provide such an option, my guess is = towards the number of bytes actually sent to the client, but I'd like = some simple confirmation on this. time taken (either %D or %T in pattern) Is the network transmission time included in the processing time? To be = more precise, is this the time the server used to process, prepare the = HTTP response and deliver it to the underlying layer for transmission = (i.e. non-blocking threads on tcp send)? Or does it also include the = underlying layer sending time (e.g. blocking threads on tcp send)? = Apache's documentation is also obscure on that point... We're going to use tomcat on a faster than real time web server = simulation experiment, and I need the above details to correctly build a = satisfactory initial model for the web server. Thank you, Antonios Kogias --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org