]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: log: add a new flag 'L' for locally processed requests
authorWilly Tarreau <w@1wt.eu>
Mon, 10 Jun 2013 14:42:09 +0000 (16:42 +0200)
committerWilly Tarreau <w@1wt.eu>
Mon, 10 Jun 2013 14:42:09 +0000 (16:42 +0200)
commit570f221cbb57566a448d29647813f4f98b68ba53
tree0c8cd7c71eb49564d7bc30dea7ae8d0b58cfa36a
parent19f7fda81fcdb3fe9dfdd76f9703373208c074b6
MINOR: log: add a new flag 'L' for locally processed requests

People who use "option dontlog-normal" are bothered with redirects and
stats being logged and reported as errors in the logs ("PR" = proxy
blocked the request).

This patch introduces a new flag 'L' for when a request is locally
processed, that is not considered as an error by the log filters. That
way we know a request was intercepted and processed by haproxy without
logging the line when "option dontlog-normal" is in effect.
doc/configuration.txt
include/types/session.h
src/log.c
src/proto_http.c