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)`); } }