Ver código fonte

fix:mongo日志路径调整

Roc 11 meses atrás
pai
commit
11686b83f8
1 arquivos alterados com 1 adições e 1 exclusões
  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)