Explorar o código

style:兼容mongo日志路径

Roc hai 11 meses
pai
achega
e2945c81e5
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      utils/logs.go

+ 1 - 1
utils/logs.go

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