diff --git a/core/openp2p.go b/core/openp2p.go index 5c57d72..24177b0 100644 --- a/core/openp2p.go +++ b/core/openp2p.go @@ -21,7 +21,6 @@ func Run() { fmt.Println(OpenP2PVersion) return case "update": - gLog = NewLogger(baseDir, ProductName, LvDEBUG, 1024*1024, LogFileAndConsole) targetPath := filepath.Join(defaultInstallPath, defaultBinName) d := daemon{} err := d.Control("restart", targetPath, nil)