Skip to content
Snippets Groups Projects
Commit 9c6244df authored by Aya Morisawa's avatar Aya Morisawa
Browse files

Use configLogger for logging

parent 2d633417
No related branches found
No related tags found
No related merge requests found
......@@ -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}`);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment