BUG/MINOR: trace: Wrong displayed trace level
authorFrédéric Lécaille <flecaille@haproxy.com>
Wed, 2 Dec 2020 15:51:00 +0000 (16:51 +0100)
committerWilly Tarreau <w@1wt.eu>
Wed, 2 Dec 2020 16:44:40 +0000 (17:44 +0100)
commitfd1831499eeaf6674723e157ad49e188ef9eb418
tree1dfa01081b2ddbba5db415c5eaf83f03357a155b
parent3243447f831d1d2a32c7a1ed6f90d40b42b6cd5f
BUG/MINOR: trace: Wrong displayed trace level

With commit a1f12746b ("MINOR: traces: add a new level "error" below
the "user" level") a new trace level was inserted, resulting in
shifting all exiting ones by one. But the levels reported in the
__trace() function were not updated accordingly, resulting in the
TRACE_LEVEL_DEVELOPER not to be properly reported anymore. This
patch fixes it by extending the number of levels to 6.

No backport is needed.
src/trace.c