Explorar o código

style:调整mongo日志地址

Roc hai 10 meses
pai
achega
d0ca6175dc
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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)