xyxie 1 year ago
parent
commit
5a21abfb66
1 changed files with 3 additions and 3 deletions
  1. 3 3
      utils/logs.go

+ 3 - 3
utils/logs.go

@@ -26,7 +26,7 @@ func init() {
 	}
 	logFile := LogFile
 	if logFile == "" {
-		logFile = "eta_api.log"
+		logFile = "eta_data_publish.log"
 	}
 	os.MkdirAll(logPath, os.ModePerm)
 
@@ -90,14 +90,14 @@ func initApiLog() {
 	logPath := ApiLogPath
 	if logPath == "" {
 		if RunMode == "release" {
-			logPath = `/data/etalogs/eta_api`
+			logPath = `/data/etalogs/eta_data_publish`
 		} else {
 			logPath = `./rdlucklog/api`
 		}
 	}
 	logFile := ApiLogFile
 	if logFile == "" {
-		logFile = "eta_api_api.log"
+		logFile = "eta_data_publish_api.log"
 	}
 	os.MkdirAll(logPath, os.ModePerm)