update url log file

This commit is contained in:
joseph le 2023-10-20 13:24:18 +07:00
parent eecd461d84
commit e6eaf14f4b
2 changed files with 2 additions and 2 deletions

View File

@ -74,7 +74,7 @@ const { addLogFunction } = require("./addLogFunctionJS");
}
}, 5000);
const fileName =
"./app/store/logsAPI/" +
"/home/Log_service/app/store/logsAPI/" +
moment(Date.now()).format("DD_MM_YYYY").toString() +
".log";
addLogFunction(fileName, JSON.stringify(params, null, 2), "powerSchedule")

View File

@ -1191,7 +1191,7 @@ const checkMultipleRequest = async () => {
allResponse += JSON.stringify(r, null, 2);
});
const fileName =
"./app/store/logsAPI/" +
"/home/Log_service/app/store/logsAPI/" +
moment(Date.now()).format("DD_MM_YYYY").toString() +
".log";