diff --git a/libbeat/outputs/codec/json/json.go b/libbeat/outputs/codec/json/json.go index b1ed32d0505..ea74a024305 100644 --- a/libbeat/outputs/codec/json/json.go +++ b/libbeat/outputs/codec/json/json.go @@ -9,7 +9,6 @@ import ( "github.com/elastic/beats/libbeat/beat" "github.com/elastic/beats/libbeat/common" - "github.com/elastic/beats/libbeat/logp" "github.com/elastic/beats/libbeat/outputs/codec" ) @@ -41,8 +40,6 @@ func init() { } func New(pretty bool) *Encoder { - logp.Info("load json codec") - e := &Encoder{pretty: pretty} e.reset() return e diff --git a/libbeat/template/load.go b/libbeat/template/load.go index 07da99f3af2..a225b26f697 100644 --- a/libbeat/template/load.go +++ b/libbeat/template/load.go @@ -80,7 +80,7 @@ func (l *Loader) Load() error { // template if it exists. If you wish to not overwrite an existing template // then use CheckTemplate prior to calling this method. func (l *Loader) LoadTemplate(templateName string, template map[string]interface{}) error { - logp.Info("load template: %s", templateName) + logp.Debug("template", "Try loading template with name: %s", templateName) path := "/_template/" + templateName body, err := l.client.LoadJSON(path, template) if err != nil {