From 5505c6094a8c3cf013757ed0f7dd09921fc7c135 Mon Sep 17 00:00:00 2001 From: Jaganathan P <156800415+jagan2221@users.noreply.github.com> Date: Fri, 20 Dec 2024 13:36:14 +0530 Subject: [PATCH] Update extension.go --- pkg/extension/sumologicextension/extension.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkg/extension/sumologicextension/extension.go b/pkg/extension/sumologicextension/extension.go index 1c73ad8756..478d8e7a16 100644 --- a/pkg/extension/sumologicextension/extension.go +++ b/pkg/extension/sumologicextension/extension.go @@ -818,7 +818,9 @@ func (se *SumologicExtension) updateMetadataWithHTTPClient(ctx context.Context, addJSONHeaders(req) - se.logger.Info("Updating collector metadata", + se.logger.Info("Collector version before cleanup,", + zap.String("version",se.buildVersion)) + se.logger.Info("Updating collector metadata-1", zap.String("URL", u.String()), zap.String("body", buff.String()))