summaryrefslogtreecommitdiff
path: root/src/index.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/index.ts')
-rw-r--r--src/index.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/index.ts b/src/index.ts
index e43cb841d8..5cc91d840d 100644
--- a/src/index.ts
+++ b/src/index.ts
@@ -166,12 +166,12 @@ async function init(): Promise<State> {
machineLogger.info(`CPU: ${os.cpus().length}core`);
machineLogger.info(`MEM: ${totalmem}GB (available: ${freemem}GB)`);
+ let configLogger = new Logger('Config');
if (!fs.existsSync(`${__dirname}/../.config/config.yml`)) {
- Logger.error('Configuration not found');
+ configLogger.error('Configuration not found');
return State.failed;
}
- let configLogger = new Logger('Config');
configLogger.info('Successfully loaded');
configLogger.info(`maintainer: ${config.maintainer}`);