mirror of
https://iceshrimp.dev/crimekillz/iceshrimp-161sh.git
synced 2024-11-22 12:13:48 +01:00
Update log messages
This commit is contained in:
parent
8609c440a2
commit
669fb4b819
@ -95,6 +95,7 @@ async function workerMain() {
|
|||||||
async function init(): Promise<Config> {
|
async function init(): Promise<Config> {
|
||||||
Logger.info('Welcome to Misskey!');
|
Logger.info('Welcome to Misskey!');
|
||||||
|
|
||||||
|
(new Logger('Deps')).info(`Node.js ${process.version}`);
|
||||||
MachineInfo.show();
|
MachineInfo.show();
|
||||||
EnvironmentInfo.show();
|
EnvironmentInfo.show();
|
||||||
new DependencyInfo().showAll();
|
new DependencyInfo().showAll();
|
||||||
|
@ -9,8 +9,7 @@ export default class {
|
|||||||
logger.info(`Hostname: ${os.hostname()}`);
|
logger.info(`Hostname: ${os.hostname()}`);
|
||||||
logger.info(`Platform: ${process.platform}`);
|
logger.info(`Platform: ${process.platform}`);
|
||||||
logger.info(`Architecture: ${process.arch}`);
|
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)`);
|
logger.info(`MEM: ${totalmem}GB (available: ${freemem}GB)`);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user