We have a Tommack server where we are trying to log on to the HTTP version that is sent with feedback . We've seen a few times that it's HTTP / 0.9, which kills content (I do not think it is supported?). We want to get some statistics on this by using access log in apache. However, since there is no header line for this, we can not use% {xxx} o logging.
Is there any way to get it?
An example:
The response is:
HTTP / 1.1 503 This application is currently not available Server: Apache-Coyote / 1.1 Content- Type: text / html; Charset = utf-8 content - length: 1090 Date: Wed, 12 May 2010 12:53:16 GMT Connection: Close
and we want to capture it http / 1.1 (Alternatively, http / 1.1 503 this app is not currently available .
Is this possible? We do not have access to this service, so We need to do this either as a Java filter, or in the Tomcat entry log - in the primary log entry. Text ">
Example: P> & l
19-m Ay-2010 12:26:18 org.apache.catalina.valves.RequestDumperValve INFO: protocol = HTTP / 1.1
Comments
Post a Comment