From abe19350f521d224bd098a0db92ac5a607fd4770 Mon Sep 17 00:00:00 2001 From: Sangbum Kim Date: Tue, 12 Sep 2017 21:46:36 +0900 Subject: [PATCH] =?UTF-8?q?=EC=98=A4=ED=83=80=EC=88=98=EC=A0=95=202?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- consumer/influx_stat.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/consumer/influx_stat.go b/consumer/influx_stat.go index 2f7a743..7a16412 100644 --- a/consumer/influx_stat.go +++ b/consumer/influx_stat.go @@ -8,7 +8,6 @@ import ( "time" "strconv" "runtime/debug" - "github.com/sirupsen/logrus" ) var ( @@ -47,7 +46,7 @@ func (m *influxMetric) StartLogging() { defer func() { if err := recover(); err != nil { - logrus.Errorf("ERR:%s",debug.Stack()) + influxLogger.Errorf("ERR:%s", debug.Stack()) m.handler.NotifyError(err.(error)) } }()