You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by Bartolomeo Nicolotti <bn...@siapcn.it> on 2008/07/31 16:53:24 UTC

FastCommonAccessLogValve to log the bytes gzipped

(Already posted twice on tomcat-user in few days, but no answer and it
could be an enhanchement request so posting here :-)
        
        Hi,
        
        I'm trying to use an AccessLogValve 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):
        
        log:
        192.168.0.64 - - [22/Jul/2008:14:01:15 +0200]
        "GET /standard-atlante-plus/ HTTP/1.1" 200 2481
        
        Sniffed:
        Content-encoded entity body (gzip): 1163 bytes -> 2481 bytes
        
        log:
        192.168.0.64 - - [22/Jul/2008:14:01:15 +0200]
        "GET /standard-atlante-plus/servlet/serLogin HTTP/1.1" 200 4106
        
        Sniffed:
        Content-encoded entity body (gzip): 1348 bytes -> 4106 bytes
        
        Is there a way to log the compressed bytes count sent?
        
        
        Many thanks in advance,
        
        Best regards


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org