diff --git a/src/services/application/checks.js b/src/services/application/checks.js index 58bd521..04e5d39 100644 --- a/src/services/application/checks.js +++ b/src/services/application/checks.js @@ -742,7 +742,6 @@ async function checkAppRunning(url, appName) { } function applicationWithChecks(app) { - log.info(`Checking if ${app.name} have specific checks.`); if (generalWebsiteApps.includes(app.name)) { return true; } else if (app.name === 'explorer') { diff --git a/src/services/domainService.js b/src/services/domainService.js index 4285a40..ef3efe9 100644 --- a/src/services/domainService.js +++ b/src/services/domainService.js @@ -349,8 +349,8 @@ async function generateAndReplaceMainApplicationHaproxyConfig(isGmode = false, t } } else { const applicationWithChecks = applicationChecks.applicationWithChecks(app); + log.info(`Application ${app.name} have specific checks: ${applicationWithChecks}`); if (applicationWithChecks) { - log.info(`Application ${app.name} have specific checks.`); for (const location of appLocations) { // run coded checks for app // eslint-disable-next-line no-await-in-loop const isOk = await applicationChecks.checkApplication(app, location.ip);