From 521cc1bdbbb395aed21647841ae186ab9aeb4798 Mon Sep 17 00:00:00 2001 From: Justin Wind Date: Mon, 3 Jan 2022 10:33:55 -0800 Subject: [PATCH] minor adjustment to server startup log message --- server.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server.js b/server.js index 7658097..0055dae 100644 --- a/server.js +++ b/server.js @@ -29,7 +29,7 @@ const ADDR = process.env.LISTEN_ADDR || '127.0.0.1'; logger.error(_scope, 'error starting server', err); throw err; } - logger.info(_scope, `server (version ${version}) started on ${ADDR}:${PORT}`); + logger.info(_scope, 'server started', { version, listenAddress: ADDR, listenPort: PORT }); }); } catch (e) { logger.error(_scope, 'error starting server', e); -- 2.45.2