Browse Source

style:调整mongo日志地址

Roc 10 months ago
parent
commit
d0ca6175dc
1 changed files with 1 additions and 1 deletions
  1. 1 1
      utils/logs.go

+ 1 - 1
utils/logs.go

@@ -149,7 +149,7 @@ func initMgoLog() {
 		logPath = "./etalogs"
 	}
 
-	mongoLogPath := logPath + "/mongologs"
+	mongoLogPath := logPath + "/mongolog"
 	mongoLogFile := "mongolog.log"
 
 	os.MkdirAll(mongoLogPath, os.ModePerm)