1. Open URL with a query string, i.e. 127.0.0.1:8080/?test=123 2. Observe access log output: GET / HTTP/1.1.
use %q for logging query string
AccessLogHandler's javadoc says:
%r - First line of the request
That includes query string as far as I know. That is the case with JBoss Web/Tomcat.