summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--cmd/serv.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd/serv.go b/cmd/serv.go
index ec2258412f..1b65dab2b3 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))