From 1f072936c5262b8786b6010f14650ae71dfeee8c Mon Sep 17 00:00:00 2001 From: Christian Schwarz Date: Thu, 18 Oct 2018 15:43:50 +0200 Subject: [PATCH] fix default stdout outlet --- config/config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/config.go b/config/config.go index 1b14dba..d6ab1e6 100644 --- a/config/config.go +++ b/config/config.go @@ -115,7 +115,7 @@ time: true level: "warn" format: "human" ` - s := StdoutLoggingOutlet{} + s := &StdoutLoggingOutlet{} err := yaml.UnmarshalStrict([]byte(def), &s) if err != nil { panic(err)