tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bartolomeo Nicolotti <bnicolo...@siapcn.it>
Subject FastCommonAccessLogValve to log the bytes gzipped
Date Thu, 31 Jul 2008 14:53:24 GMT
(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


Mime
View raw message