Skip to content

Commit

Permalink
review
Browse files Browse the repository at this point in the history
  • Loading branch information
urso committed Feb 17, 2020
1 parent 5fdec6b commit 87825e0
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions libbeat/common/event.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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,
}
}
Expand Down

0 comments on commit 87825e0

Please sign in to comment.