projects
/
websub-hub
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
06565fb
)
minor adjustment to server startup log message
author
Justin Wind
<justin.wind+git@gmail.com>
Mon, 3 Jan 2022 18:33:55 +0000
(10:33 -0800)
committer
Justin Wind
<justin.wind+git@gmail.com>
Mon, 3 Jan 2022 18:33:55 +0000
(10:33 -0800)
server.js
patch
|
blob
|
history
diff --git
a/server.js
b/server.js
index 76580972919c642d3d0c09de1080e038a003a3a9..0055daeb2084d4f550312126779f5ae08efdc3a4 100644
(file)
--- 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);