diff --git a/bin/www.js b/bin/www.js index 86045ae3..43039d86 100644 --- a/bin/www.js +++ b/bin/www.js @@ -18,8 +18,8 @@ for (let index = 0; index < processCount; index += 1) { cluster.fork(); } cluster.on('exit', (worker, code, signal) => { - console.log(`Worker ${worker.process.pid.toString()} has been killed`); - console.log('Starting another worker'); + debug(`Worker ${worker.process.pid.toString()} has been killed`); + debug('Starting another worker'); cluster.fork(); }); const ntfyStartupConfig = configFunctions.getProperty('application.ntfyStartup'); diff --git a/bin/www.ts b/bin/www.ts index 11900e47..0d2f9f31 100644 --- a/bin/www.ts +++ b/bin/www.ts @@ -32,8 +32,8 @@ for (let index = 0; index < processCount; index += 1) { } cluster.on('exit', (worker, code, signal) => { - console.log(`Worker ${worker.process.pid!.toString()} has been killed`) - console.log('Starting another worker') + debug(`Worker ${worker.process.pid!.toString()} has been killed`) + debug('Starting another worker') cluster.fork() })