fix: ensure successful startup is logged

The default log level is 'warning', so we log the final
startup message as warning to ensure it is visible by default.

Signed-off-by: David Mehren <git@herrmehren.de>
This commit is contained in:
David Mehren 2023-10-07 11:01:58 +02:00 committed by Yannick Bungers
parent 0693812e8b
commit 170977baa9

View file

@ -45,7 +45,7 @@ async function bootstrap(): Promise<void> {
// Start the server
await app.listen(appConfig.port);
logger.log(`Listening on port ${appConfig.port}`, 'AppBootstrap');
logger.warn(`Listening on port ${appConfig.port}`, 'AppBootstrap');
}
void bootstrap();