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

Update log messages

parent 4d2c0e41
No related branches found
No related tags found
No related merge requests found
......@@ -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<Config> {
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<Config> {
// 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;
......
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