From 90de4205f7865296684dd51e4589e5454e00a438 Mon Sep 17 00:00:00 2001 From: Om Mishra <32200996+mishraomp@users.noreply.github.com> Date: Sun, 24 Nov 2024 16:37:18 -0800 Subject: [PATCH] add log to show start up time in seconds --- backend/src/main.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/backend/src/main.ts b/backend/src/main.ts index 351d0c77..2f629540 100644 --- a/backend/src/main.ts +++ b/backend/src/main.ts @@ -6,6 +6,7 @@ const logger = new Logger('NestApplication'); bootstrap().then(async (app: NestExpressApplication) => { await app.listen(3000); logger.log(`Listening on ${await app.getUrl()}`); + logger.log(`Process start up took ${process.uptime()} seconds`); }).catch(err => { logger.error(err); });