From: Miroslav Zagorac Date: Mon, 8 Jan 2024 11:55:11 +0000 (+0100) Subject: MINOR: ot: logsrv struct becomes logger X-Git-Tag: v3.0-dev2~70 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=86298c6913fabb5dba48aeaa9befcd957e2e8ccf;p=thirdparty%2Fhaproxy.git MINOR: ot: logsrv struct becomes logger 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. --- diff --git a/addons/ot/include/conf.h b/addons/ot/include/conf.h index a4bb7fcc0f..c9c4863d5e 100644 --- a/addons/ot/include/conf.h +++ b/addons/ot/include/conf.h @@ -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) \