|
@@ -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)
|
|
|
|