From f2bcfe014c8e1ef49bee2c33a1430993bc55f18b Mon Sep 17 00:00:00 2001 From: Martin/Geno Date: Mon, 10 Jun 2019 02:57:36 +0200 Subject: [PATCH] change logger library --- main.go | 2 +- runtime/node_ssh.go | 2 +- runtime/ping.go | 2 +- runtime/yanic.go | 2 +- ssh/execute.go | 2 +- ssh/manager.go | 2 +- ssh/run.go | 2 +- websocket/hd_auth.go | 2 +- websocket/hd_connect.go | 2 +- websocket/hd_node.go | 2 +- websocket/server.go | 2 +- 11 files changed, 11 insertions(+), 11 deletions(-) diff --git a/main.go b/main.go index 75bc45b..b940ec3 100644 --- a/main.go +++ b/main.go @@ -10,7 +10,7 @@ import ( "dev.sum7.eu/genofire/golang-lib/file" "github.com/NYTimes/gziphandler" - log "github.com/sirupsen/logrus" + "github.com/bdlm/log" respondYanic "github.com/FreifunkBremen/yanic/respond" runtimeYanic "github.com/FreifunkBremen/yanic/runtime" diff --git a/runtime/node_ssh.go b/runtime/node_ssh.go index d396d4f..4646e95 100644 --- a/runtime/node_ssh.go +++ b/runtime/node_ssh.go @@ -3,7 +3,7 @@ package runtime import ( "fmt" - log "github.com/sirupsen/logrus" + "github.com/bdlm/log" "github.com/FreifunkBremen/freifunkmanager/ssh" ) diff --git a/runtime/ping.go b/runtime/ping.go index 8162670..29fb4cd 100644 --- a/runtime/ping.go +++ b/runtime/ping.go @@ -6,9 +6,9 @@ import ( "time" "github.com/FreifunkBremen/yanic/lib/duration" + "github.com/bdlm/log" "github.com/digineo/go-ping" "github.com/jinzhu/gorm" - log "github.com/sirupsen/logrus" "github.com/FreifunkBremen/freifunkmanager/data" ) diff --git a/runtime/yanic.go b/runtime/yanic.go index c0621a5..c8f7579 100644 --- a/runtime/yanic.go +++ b/runtime/yanic.go @@ -3,8 +3,8 @@ package runtime import ( "time" + "github.com/bdlm/log" "github.com/jinzhu/gorm" - log "github.com/sirupsen/logrus" databaseYanic "github.com/FreifunkBremen/yanic/database" runtimeYanic "github.com/FreifunkBremen/yanic/runtime" diff --git a/ssh/execute.go b/ssh/execute.go index be2e507..3576292 100644 --- a/ssh/execute.go +++ b/ssh/execute.go @@ -3,7 +3,7 @@ package ssh import ( "net" - log "github.com/sirupsen/logrus" + "github.com/bdlm/log" "golang.org/x/crypto/ssh" ) diff --git a/ssh/manager.go b/ssh/manager.go index 91afd05..fa02895 100644 --- a/ssh/manager.go +++ b/ssh/manager.go @@ -7,7 +7,7 @@ import ( "sync" "time" - log "github.com/sirupsen/logrus" + "github.com/bdlm/log" "golang.org/x/crypto/ssh" ) diff --git a/ssh/run.go b/ssh/run.go index fb60da4..b99912a 100644 --- a/ssh/run.go +++ b/ssh/run.go @@ -4,7 +4,7 @@ import ( "bytes" "net" - log "github.com/sirupsen/logrus" + "github.com/bdlm/log" "golang.org/x/crypto/ssh" ) diff --git a/websocket/hd_auth.go b/websocket/hd_auth.go index 82663eb..506beea 100644 --- a/websocket/hd_auth.go +++ b/websocket/hd_auth.go @@ -3,9 +3,9 @@ package websocket import ( "time" + "github.com/bdlm/log" "github.com/google/uuid" "github.com/mitchellh/mapstructure" - log "github.com/sirupsen/logrus" "dev.sum7.eu/genofire/golang-lib/websocket" ) diff --git a/websocket/hd_connect.go b/websocket/hd_connect.go index 7733a3d..02ea550 100644 --- a/websocket/hd_connect.go +++ b/websocket/hd_connect.go @@ -1,7 +1,7 @@ package websocket import ( - log "github.com/sirupsen/logrus" + "github.com/bdlm/log" wsLib "dev.sum7.eu/genofire/golang-lib/websocket" diff --git a/websocket/hd_node.go b/websocket/hd_node.go index 907a9cc..c737d73 100644 --- a/websocket/hd_node.go +++ b/websocket/hd_node.go @@ -1,8 +1,8 @@ package websocket import ( + "github.com/bdlm/log" "github.com/mitchellh/mapstructure" - log "github.com/sirupsen/logrus" wsLib "dev.sum7.eu/genofire/golang-lib/websocket" diff --git a/websocket/server.go b/websocket/server.go index 0916a63..8091860 100644 --- a/websocket/server.go +++ b/websocket/server.go @@ -4,8 +4,8 @@ import ( "time" wsLib "dev.sum7.eu/genofire/golang-lib/websocket" + "github.com/bdlm/log" "github.com/jinzhu/gorm" - log "github.com/sirupsen/logrus" "github.com/FreifunkBremen/yanic/runtime" )