From 87cc5f790c9f80da7a6ba72aa4f7db22743c3504 Mon Sep 17 00:00:00 2001 From: Aya Morisawa Date: Sat, 14 Jul 2018 22:53:30 +0900 Subject: [PATCH] Update log messages --- src/index.ts | 1 + src/misc/machineInfo.ts | 3 +-- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/index.ts b/src/index.ts index 307a35fa0..13930b611 100644 --- a/src/index.ts +++ b/src/index.ts @@ -95,6 +95,7 @@ async function workerMain() { async function init(): Promise { Logger.info('Welcome to Misskey!'); + (new Logger('Deps')).info(`Node.js ${process.version}`); MachineInfo.show(); EnvironmentInfo.show(); new DependencyInfo().showAll(); diff --git a/src/misc/machineInfo.ts b/src/misc/machineInfo.ts index 0c189cc7c..6049bcfc9 100644 --- a/src/misc/machineInfo.ts +++ b/src/misc/machineInfo.ts @@ -9,8 +9,7 @@ export default class { logger.info(`Hostname: ${os.hostname()}`); logger.info(`Platform: ${process.platform}`); logger.info(`Architecture: ${process.arch}`); - logger.info(`Node.js: ${process.version}`); - logger.info(`CPU: ${os.cpus().length}core`); + logger.info(`CPU: ${os.cpus().length} core`); logger.info(`MEM: ${totalmem}GB (available: ${freemem}GB)`); } }