Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 20973 invoked from network); 22 Jul 2008 12:46:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 22 Jul 2008 12:46:02 -0000 Received: (qmail 45672 invoked by uid 500); 22 Jul 2008 12:45:50 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 45648 invoked by uid 500); 22 Jul 2008 12:45:50 -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 45637 invoked by uid 99); 22 Jul 2008 12:45:50 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 22 Jul 2008 05:45:50 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [212.210.172.197] (HELO mail.siapcn.it) (212.210.172.197) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 22 Jul 2008 12:44:55 +0000 Received: from [212.210.172.201] (helo=[192.168.0.64]) by mail.siapcn.it with esmtp (Exim 4.50) id 1KLHBz-00015g-FM for users@tomcat.apache.org; Tue, 22 Jul 2008 14:42:11 +0200 Subject: FastCommonAccessLogValve and gzip compression From: Bartolomeo Nicolotti To: users@tomcat.apache.org Content-Type: text/plain Organization: SIAP-Sistemi Applicativi Date: Tue, 22 Jul 2008 14:42:08 +0200 Message-Id: <1216730528.5625.21.camel@LxPC35> Mime-Version: 1.0 X-Mailer: Evolution 2.10.1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hi, I'm trying to use FastCommonAccessLogValve to log the bytes send over the network, but I have gzip compression actived while in the log goes the bytes count before compression (I've checked it with a sniffer): 192.168.0.64 - - [22/Jul/2008:14:01:15 +0200] "GET /standard-atlante-plus/ HTTP/1.1" 200 2481 Content-encoded entity body (gzip): 1163 bytes -> 2481 bytes 192.168.0.64 - - [22/Jul/2008:14:01:15 +0200] "GET /standard-atlante-plus/servlet/serLogin HTTP/1.1" 200 4106 Content-encoded entity body (gzip): 1348 bytes -> 4106 bytes Is there a way to log the compressed bytes count ? Many thanks in advance, Best regards --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org