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) }