]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
MINOR: ot: logsrv struct becomes logger
authorMiroslav Zagorac <mzagorac@haproxy.com>
Mon, 8 Jan 2024 11:55:11 +0000 (12:55 +0100)
committerWilly Tarreau <w@1wt.eu>
Tue, 9 Jan 2024 10:40:41 +0000 (11:40 +0100)
Addition to commit 18da35c "MEDIUM: tree-wide: logsrv struct becomes logger",
when the OpenTracing filter is compiled in debug mode (using OT_DEBUG=1)
then logsrv should be changed to logger here as well.

This patch should be backported to branch 2.9.

addons/ot/include/conf.h

index a4bb7fcc0f9907a13ca9fd67ea1756715e2d45a3..c9c4863d5e21733e357049f76aefd5c80184156c 100644 (file)
@@ -60,7 +60,7 @@
 #define FLT_OT_DBG_CONF_TRACER(f,a)                                                                                                     \
        FLT_OT_DBG(3, f FLT_OT_CONF_HDR_FMT "'%s' %p '%s' %p %u %hhu %hhu 0x%02hhx %p:%s 0x%08x %s %s %s }",                            \
                   FLT_OT_CONF_HDR_ARGS(a, id), (a)->config, (a)->cfgbuf, (a)->plugin, (a)->tracer, (a)->rate_limit, (a)->flag_harderr, \
-                  (a)->flag_disabled, (a)->logging, &((a)->proxy_log), flt_ot_list_debug(&((a)->proxy_log.logsrvs)), (a)->analyzers,   \
+                  (a)->flag_disabled, (a)->logging, &((a)->proxy_log), flt_ot_list_debug(&((a)->proxy_log.loggers)), (a)->analyzers,   \
                   flt_ot_list_debug(&((a)->acls)), flt_ot_list_debug(&((a)->ph_groups)), flt_ot_list_debug(&((a)->ph_scopes)))
 
 #define FLT_OT_DBG_CONF(f,a)                                                  \