diff --git a/common/log/log.go b/common/log/log.go index a07a14f45d..0716101afd 100644 --- a/common/log/log.go +++ b/common/log/log.go @@ -364,6 +364,7 @@ func createLog(logLevel int, a ...interface{}) *Logger { os.Exit(1) } writers = append(writers, logFile) + PATH = o.(string) case *os.File: writers = append(writers, o.(*os.File)) default: