From 5653d6b6dd9a852f78ad6f00165b37d6dbb45e61 Mon Sep 17 00:00:00 2001 From: Antoine Toulme Date: Thu, 30 Nov 2023 14:17:22 -0800 Subject: [PATCH] Remove noisy log statement (#9018) Removes a noisy log statement Fixes #9017 --- .chloggen/remove_noisy_log.yaml | 25 +++++++++++++++++++++++++ exporter/exporterhelper/retry_sender.go | 1 - 2 files changed, 25 insertions(+), 1 deletion(-) create mode 100755 .chloggen/remove_noisy_log.yaml diff --git a/.chloggen/remove_noisy_log.yaml b/.chloggen/remove_noisy_log.yaml new file mode 100755 index 00000000000..f9e3e1beb02 --- /dev/null +++ b/.chloggen/remove_noisy_log.yaml @@ -0,0 +1,25 @@ +# Use this changelog template to create an entry for release notes. + +# One of 'breaking', 'deprecation', 'new_component', 'enhancement', 'bug_fix' +change_type: bug_fix + +# The name of the component, or a single word describing the area of concern, (e.g. otlpreceiver) +component: exporterhelper + +# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`). +note: Remove noisy log + +# One or more tracking issues or pull requests related to the change +issues: [9017] + +# (Optional) One or more lines of additional information to render under the primary note. +# These lines will be padded with 2 spaces and then inserted directly into the document. +# Use pipe (|) for multiline entries. +subtext: + +# Optional: The change log or logs in which this entry should be included. +# e.g. '[user]' or '[user, api]' +# Include 'user' if the change is relevant to end users. +# Include 'api' if there is a change to a library API. +# Default: '[user]' +change_logs: [] \ No newline at end of file diff --git a/exporter/exporterhelper/retry_sender.go b/exporter/exporterhelper/retry_sender.go index e1ffb7b9388..82ffce4389a 100644 --- a/exporter/exporterhelper/retry_sender.go +++ b/exporter/exporterhelper/retry_sender.go @@ -117,7 +117,6 @@ func (rs *retrySender) send(ctx context.Context, req Request) error { trace.WithAttributes(rs.traceAttribute, attribute.Int64("retry_num", retryNum))) err := rs.nextSender.send(ctx, req) - rs.logger.Info("Exporting finished.", zap.Error(err)) if err == nil { return nil }