From ac714de8dffc735d5ba80001d7eab290300c2fbb Mon Sep 17 00:00:00 2001 From: ErickSkrauch Date: Sun, 3 Sep 2017 22:54:46 +0300 Subject: [PATCH] =?UTF-8?q?=D0=9B=D0=BE=D0=B3=D0=B3=D0=B5=D1=80=20=D0=B2?= =?UTF-8?q?=20=D0=BA=D0=BE=D0=BD=D1=81=D0=BE=D0=BB=D1=8C=20=D1=82=D0=B5?= =?UTF-8?q?=D0=BF=D0=B5=D1=80=D1=8C=20=D0=BD=D0=B5=20=D0=B4=D0=BE=D0=B1?= =?UTF-8?q?=D0=B0=D0=B2=D0=BB=D1=8F=D0=B5=D1=82=20=D0=BC=D0=B5=D1=82=D0=BA?= =?UTF-8?q?=D1=83=20=D0=B2=20=D0=BA=D0=BE=D0=BD=D0=B5=D1=86=20=D1=81=D1=82?= =?UTF-8?q?=D1=80=D0=BE=D0=BA=D0=B8,=20=D0=B0=20=D1=82=D0=B0=D0=BA=D0=B6?= =?UTF-8?q?=D0=B5=20=D0=B2=D1=8B=D0=B2=D0=BE=D0=B4=D0=B8=D1=82=20=D0=B2?= =?UTF-8?q?=D1=80=D0=B5=D0=BC=D1=8F=20=D0=B2=20=D0=B1=D0=BE=D0=BB=D0=B5?= =?UTF-8?q?=D0=B5=20=D0=BA=D0=BE=D1=80=D0=BE=D1=82=D0=BA=D0=BE=D0=BC=20?= =?UTF-8?q?=D1=84=D0=BE=D1=80=D0=BC=D0=B0=D1=82=D0=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bootstrap/bootstrap.go | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/bootstrap/bootstrap.go b/bootstrap/bootstrap.go index fd6a7c3..d9c13ff 100644 --- a/bootstrap/bootstrap.go +++ b/bootstrap/bootstrap.go @@ -8,8 +8,8 @@ import ( "github.com/assembla/cony" "github.com/getsentry/raven-go" "github.com/mono83/slf/rays" - "github.com/mono83/slf/recievers/ansi" "github.com/mono83/slf/recievers/statsd" + "github.com/mono83/slf/recievers/writer" "github.com/mono83/slf/wd" "elyby/minecraft-skinsystem/logger/receivers/sentry" @@ -22,7 +22,10 @@ func GetVersion() string { } func CreateLogger(statsdAddr string, sentryAddr string) (wd.Watchdog, error) { - wd.AddReceiver(ansi.New(true, true, false)) + wd.AddReceiver(writer.New(writer.Options{ + Marker: false, + TimeFormat: "15:04:05.000", + })) if statsdAddr != "" { hostname, _ := os.Hostname() statsdReceiver, err := statsd.NewReceiver(statsd.Config{