Browse Source

style:调整mongo日志地址

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

+ 2 - 2
utils/logs.go

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