mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2025-01-04 19:19:33 +00:00
BUG/MINOR: trace: fix hardcoded level for TRACE_PRINTF
Level argument was not ignored by TRACE_PRINTF due to an hardcoded value of TRACE_LEVEL_DEVELOPER inside the macro. This must be backported up to 2.6.
This commit is contained in:
parent
d8a97d8f60
commit
1d0ed1a2e9
@ -134,7 +134,7 @@
|
||||
_msg_len = snprintf(_msg, sizeof(_msg), (fmt), ##args); \
|
||||
if (_msg_len >= sizeof(_msg)) \
|
||||
_msg_len = sizeof(_msg) - 1; \
|
||||
_trace(TRACE_LEVEL_DEVELOPER, (mask), TRACE_SOURCE, \
|
||||
_trace((level), (mask), TRACE_SOURCE, \
|
||||
trc_loc, func, a1, a2, a3, a4, \
|
||||
&trace_no_cb, ist2(_msg, _msg_len)); \
|
||||
} \
|
||||
|
Loading…
Reference in New Issue
Block a user