From 51d122b81d7eabac6ccf226bf31991aadc4e8f0e Mon Sep 17 00:00:00 2001 From: TheTrunk Date: Mon, 29 Jul 2024 20:15:34 +0800 Subject: [PATCH] more logs --- src/services/domainService.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/services/domainService.js b/src/services/domainService.js index 9236765..6828186 100644 --- a/src/services/domainService.js +++ b/src/services/domainService.js @@ -581,8 +581,9 @@ async function generateAndReplaceMainApplicationHaproxyConfig(isGmode = false, t const updatingConfig = JSON.parse(JSON.stringify(recentlyConfiguredApps)); // merge recentlyConfiguredApps with currently configuredApps for (const app of configuredApps) { - log.info(`G Updating ${app.name} with IPs ${JSON.stringify(app.ips)}`); + log.info(`G Updating ${app.appName} of ${app.name} with IPs ${JSON.stringify(app.ips)}`); const appExists = updatingConfig.find((a) => a.appName === app.appName); + log.info(`Exists ${JSON.stringify(appExists)}`); if (!appExists) { updatingConfig.push(app); } else if (!app.ips.length) {