From a096c54632c55ea65b5c75dc267e8815b512b227 Mon Sep 17 00:00:00 2001 From: fanux Date: Thu, 11 Mar 2021 14:04:20 +0800 Subject: [PATCH] delete set logger path --- go.mod | 2 +- utils/log.go | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/go.mod b/go.mod index 0a117ef..a07f256 100644 --- a/go.mod +++ b/go.mod @@ -7,7 +7,7 @@ require ( github.com/moby/ipvs v1.0.1 github.com/spf13/cobra v0.0.6 github.com/stretchr/testify v1.3.0 // indirect - github.com/wonderivan/logger v1.0.0 // indirect + github.com/wonderivan/logger v1.0.0 ) replace ( diff --git a/utils/log.go b/utils/log.go index 23dc08a..914f8b3 100644 --- a/utils/log.go +++ b/utils/log.go @@ -29,5 +29,4 @@ func Config(level string) { } cfg := fmt.Sprintf(logConfig, level) logger.SetLogger(string(cfg)) - logger.SetLogPath(true) }