diff --git a/changelog/unreleased/kong/fix-propagation-remove-redundant-warnings.yml b/changelog/unreleased/kong/fix-propagation-remove-redundant-warnings.yml new file mode 100644 index 000000000000..da45591d4f26 --- /dev/null +++ b/changelog/unreleased/kong/fix-propagation-remove-redundant-warnings.yml @@ -0,0 +1,3 @@ +message: "**OpenTelemetry / Zipkin**: remove redundant deprecation warnings" +type: bugfix +scope: Plugin diff --git a/kong/tracing/propagation/init.lua b/kong/tracing/propagation/init.lua index 7ee0ba3b02ee..5e724113a28c 100644 --- a/kong/tracing/propagation/init.lua +++ b/kong/tracing/propagation/init.lua @@ -33,11 +33,6 @@ local function get_plugin_params(config) if (config.default_header_type or null) ~= null then propagation_config.default_format = config.default_header_type - - kong.log.warn( - "the default_header_type parameter is deprecated, please update your " - .. "configuration to use the propagation.default_format, " - .. "propagation.extract and propagation.inject options instead") end if (config.header_type or null) ~= null then @@ -75,10 +70,6 @@ local function get_plugin_params(config) config.header_type } end - - kong.log.warn( - "the header_type parameter is deprecated, please update your " - .. "configuration to use propagation.extract and propagation.inject instead") end return propagation_config