]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: traces: add a new level "error" below the "user" level
authorWilly Tarreau <w@1wt.eu>
Tue, 1 Dec 2020 08:46:46 +0000 (09:46 +0100)
committerWilly Tarreau <w@1wt.eu>
Tue, 1 Dec 2020 09:25:20 +0000 (10:25 +0100)
commita1f12746b12d7982972b775672e5d119c8b60f10
tree74949ff6139f500f67f10c48515a60b98d0493d5
parenta307528fe287f085705ef08a798c1698e474c395
MINOR: traces: add a new level "error" below the "user" level

Sometimes it would be nice to be able to only trace abnormal events such
as protocol errors. Let's add a new "error" level below the "user" level
for this. This will allow to add TRACE_ERROR() at various error points
and only see them.
include/haproxy/trace-t.h
include/haproxy/trace.h
src/trace.c