Browse Source

fix:mongo日志路径调整

Roc 1 năm trước cách đây
mục cha
commit
11686b83f8
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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)