Update log messages

This commit is contained in:
Aya Morisawa 2018-07-14 22:53:30 +09:00
parent b03987290c
commit 87cc5f790c
2 changed files with 2 additions and 2 deletions

View file

@ -95,6 +95,7 @@ async function workerMain() {
async function init(): Promise<Config> {
Logger.info('Welcome to Misskey!');
(new Logger('Deps')).info(`Node.js ${process.version}`);
MachineInfo.show();
EnvironmentInfo.show();
new DependencyInfo().showAll();

View file

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