commit | 0ebc55f6b42181c2206487ca4db3adc1d5846990 | [log] [tgz] |
---|---|---|
author | Andrew Hayworth <andrew.hayworth@getbraintree.com> | Mon Apr 27 21:37:03 2015 +0000 |
committer | Willy Tarreau <w@1wt.eu> | Tue Apr 28 21:03:05 2015 +0200 |
tree | 64c79a55169c6b08cfe8ec8a2ebed159f906580b | |
parent | e5843b383d3f584b22186be708ac7d69707c8d4b [diff] |
MEDIUM: logs: Add HTTP request-line log format directives This commit adds 4 new log format variables that parse the HTTP Request-Line for more specific logging than "%r" provides. For example, we can parse the following HTTP Request-Line with these new variables: "GET /foo?bar=baz HTTP/1.1" - %HM: HTTP Method ("GET") - %HV: HTTP Version ("HTTP/1.1") - %HU: HTTP Request-URI ("/foo?bar=baz") - %HP: HTTP Request-URI without query string ("/foo")