From 87825e0d0f4c53ba6eeb8214f109e3e3cea6eca2 Mon Sep 17 00:00:00 2001 From: urso Date: Fri, 7 Feb 2020 16:55:27 +0100 Subject: [PATCH] review --- libbeat/common/event.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/libbeat/common/event.go b/libbeat/common/event.go index 019223908f8..0502a3ce027 100644 --- a/libbeat/common/event.go +++ b/libbeat/common/event.go @@ -31,8 +31,6 @@ import ( "github.com/elastic/beats/libbeat/logp" ) -const eventDebugSelector = "event" - var textMarshalerType = reflect.TypeOf((*encoding.TextMarshaler)(nil)).Elem() type Float float64 @@ -51,7 +49,7 @@ type GenericEventConverter struct { // NewGenericEventConverter creates an EventConverter with the given configuration options func NewGenericEventConverter(keepNull bool) *GenericEventConverter { return &GenericEventConverter{ - log: logp.NewLogger(eventDebugSelector), + log: logp.NewLogger("event"), keepNull: keepNull, } }