From 24f52aee461c860e8f0256041b26fa0697ecff4b Mon Sep 17 00:00:00 2001 From: Aya Morisawa Date: Sat, 14 Jul 2018 22:05:19 +0900 Subject: [PATCH] Update log messages --- src/index.ts | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/index.ts b/src/index.ts index 3f2a8cdff4..dab30da7a1 100644 --- a/src/index.ts +++ b/src/index.ts @@ -67,7 +67,7 @@ async function masterMain() { process.exit(1); } - Logger.succ('Successfully initialized'); + Logger.succ('Misskey initialized'); spawnWorkers(() => { Logger.succ('All workers started'); @@ -117,8 +117,7 @@ async function init(): Promise { throw exception; } - configLogger.succ('Successfully loaded'); - configLogger.info(`Maintainer: ${config.maintainer.name}`); + configLogger.succ('Loaded'); if (process.platform === 'linux' && !isRoot() && config.port < 1024) { Logger.error('You need root privileges to listen on port below 1024 on Linux'); @@ -133,7 +132,7 @@ async function init(): Promise { // Try to connect to MongoDB const mongoDBLogger = new Logger('MongoDB'); const db = require('./db/mongodb').default; - mongoDBLogger.succ('Successfully connected'); + mongoDBLogger.succ('Connectivity confirmed'); db.close(); return config;