From 6ff30f2fae97a0eaf93eb2d7a33505cb62331e76 Mon Sep 17 00:00:00 2001 From: Iurii Panarin Date: Sat, 13 Jan 2024 01:57:42 +0100 Subject: [PATCH] fix(pkg/processor/processor) - rename logger field --- pkg/processor/processor.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/processor/processor.go b/pkg/processor/processor.go index d12e582..eb0522e 100644 --- a/pkg/processor/processor.go +++ b/pkg/processor/processor.go @@ -81,7 +81,7 @@ func CreateProcessor(item *config.Item, logger logger.Logger) Processor { if item.Name == "" { return Null(errMissingName) } - + var notifierInstance notifier.Notifier if item.NotifierConfig != nil { @@ -105,5 +105,5 @@ func CreateProcessor(item *config.Item, logger logger.Logger) Processor { logger = logger.With("name", item.Name) - return New(parser.NewEngine(item.ConnectorConfig, logger.With("component", "engine")), item.Model, notifierInstance).WithLogger(logger) + return New(parser.NewEngine(item.ConnectorConfig, logger.With("component", "processor_engine")), item.Model, notifierInstance).WithLogger(logger) }