From bfb3da93386d14e6595f663312405ccb33960376 Mon Sep 17 00:00:00 2001 From: Martin/Geno Date: Thu, 28 Feb 2019 16:24:29 +0100 Subject: [PATCH] change logging --- capture/collector.go | 2 +- cmd/controller.go | 2 +- cmd/dump.go | 2 +- cmd/root.go | 2 +- controller/handler.go | 2 +- controller/main.go | 2 +- data/socket_msg.go | 2 +- database/client.go | 2 +- database/main.go | 2 +- 9 files changed, 9 insertions(+), 9 deletions(-) diff --git a/capture/collector.go b/capture/collector.go index 3294e91..d6e4d04 100644 --- a/capture/collector.go +++ b/capture/collector.go @@ -4,7 +4,7 @@ import ( "net" "dev.sum7.eu/genofire/wifictld-analyzer/data" - log "github.com/sirupsen/logrus" + "github.com/bdlm/log" ) //Collector for capture diff --git a/cmd/controller.go b/cmd/controller.go index 8cdae8c..2cd14d1 100644 --- a/cmd/controller.go +++ b/cmd/controller.go @@ -5,7 +5,7 @@ import ( "os/signal" "syscall" - log "github.com/sirupsen/logrus" + "github.com/bdlm/log" "github.com/spf13/cobra" "dev.sum7.eu/genofire/golang-lib/file" diff --git a/cmd/dump.go b/cmd/dump.go index 7515519..2166b7f 100644 --- a/cmd/dump.go +++ b/cmd/dump.go @@ -7,7 +7,7 @@ import ( "strings" "syscall" - log "github.com/sirupsen/logrus" + "github.com/bdlm/log" "github.com/spf13/cobra" "dev.sum7.eu/genofire/wifictld-analyzer/capture" diff --git a/cmd/root.go b/cmd/root.go index 69b897c..6c035e8 100644 --- a/cmd/root.go +++ b/cmd/root.go @@ -1,7 +1,7 @@ package cmd import ( - log "github.com/sirupsen/logrus" + "github.com/bdlm/log" "github.com/spf13/cobra" ) diff --git a/controller/handler.go b/controller/handler.go index ec57cf5..10c8b30 100644 --- a/controller/handler.go +++ b/controller/handler.go @@ -3,7 +3,7 @@ package controller import ( "net" - // log "github.com/sirupsen/logrus" + // "github.com/bdlm/log" "dev.sum7.eu/genofire/wifictld-analyzer/data" ) diff --git a/controller/main.go b/controller/main.go index 3655a3d..02b20a9 100644 --- a/controller/main.go +++ b/controller/main.go @@ -4,7 +4,7 @@ import ( "net" "time" - log "github.com/sirupsen/logrus" + "github.com/bdlm/log" "dev.sum7.eu/genofire/wifictld-analyzer/data" "dev.sum7.eu/genofire/wifictld-analyzer/database" diff --git a/data/socket_msg.go b/data/socket_msg.go index 3a99527..3fc8d9f 100644 --- a/data/socket_msg.go +++ b/data/socket_msg.go @@ -6,7 +6,7 @@ import ( "net" "time" - log "github.com/sirupsen/logrus" + "github.com/bdlm/log" ) var DEBUG = false diff --git a/database/client.go b/database/client.go index ff3de65..a2ca78e 100644 --- a/database/client.go +++ b/database/client.go @@ -4,7 +4,7 @@ import ( "net" "time" - // log "github.com/sirupsen/logrus" + // "github.com/bdlm/log" "github.com/FreifunkBremen/yanic/lib/jsontime" "dev.sum7.eu/genofire/wifictld-analyzer/data" diff --git a/database/main.go b/database/main.go index 77e0cdd..acfd91f 100644 --- a/database/main.go +++ b/database/main.go @@ -4,7 +4,7 @@ import ( "net" "time" - log "github.com/sirupsen/logrus" + "github.com/bdlm/log" "dev.sum7.eu/genofire/golang-lib/file" "dev.sum7.eu/genofire/golang-lib/worker"