From: Justin Wind Date: Mon, 3 Jan 2022 18:33:55 +0000 (-0800) Subject: minor adjustment to server startup log message X-Git-Tag: v1.3.3^2~1 X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=521cc1bdbbb395aed21647841ae186ab9aeb4798;p=websub-hub minor adjustment to server startup log message --- 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);