Skip to main content
Support

KB Article #176898

The access log entry for path

Problem

The path recorded in the Access Log when a connection or connect to URL filter has been called in a circuit will be the path for last call executed. This is the last server called before the circuit exits and so for a web service or a connection filter it would be the backend url taken from http.request.uri.

server.axway.int - - [17/02/2015:01:33:06 00] "POST http://backend.axway.int:8000/healthcheck HTTP/1.0" 200 -

Looking at the access log pattern string in Policy Studio the path traced comes from %r. Apache access log %r would normally be the path from the client.


Resolution

There is a workaround because it is possible to change the pattern in Policy Studio Access Log settings and use any message attribute from the whiteboard. From observing a trace filter the path required should be %{http.request.url}r instead of %r.