haproxy/reg-tests/log
Maciej Zdeb fcdfd857b3 MINOR: log: Logging HTTP path only with %HPO
This patch adds a new logging variable '%HPO' for logging HTTP path only
(without query string) from relative or absolute URI.

For example:
log-format "hpo=%HPO hp=%HP hu=%HU hq=%HQ"

GET /r/1 HTTP/1.1
=>
hpo=/r/1 hp=/r/1 hu=/r/1 hq=

GET /r/2?q=2 HTTP/1.1
=>
hpo=/r/2 hp=/r/2 hu=/r/2?q=2 hq=?q=2

GET http://host/r/3 HTTP/1.1
=>
hpo=/r/3 hp=http://host/r/3 hu=http://host/r/3 hq=

GET http://host/r/4?q=4 HTTP/1.1
=>
hpo=/r/4 hp=http://host/r/4 hu=http://host/r/4?q=4 hq=?q=4
2020-12-01 09:32:44 +01:00
..
load_balancing.vtc MEDIUM: proxy: remove start_proxies() 2020-10-09 11:27:30 +02:00
log_uri.vtc MINOR: log: Logging HTTP path only with %HPO 2020-12-01 09:32:44 +01:00
wrong_ip_port_logging.vtc MEDIUM: proxy: remove start_proxies() 2020-10-09 11:27:30 +02:00