diff --git a/cmd/serv.go b/cmd/serv.go index ec2258412f7..1b65dab2b3d 100644 --- a/cmd/serv.go +++ b/cmd/serv.go @@ -70,6 +70,7 @@ func checkLFSVersion() { } func setup(logPath string) { + log.DelLogger("console") setting.NewContext() checkLFSVersion() log.NewGitLogger(filepath.Join(setting.LogRootPath, logPath))