Add Node.js version to startup log

This commit is contained in:
Bryan Ashby 2020-05-13 19:04:11 -06:00
parent db91d6d6b7
commit 714f32f695
No known key found for this signature in database
GPG Key ID: B49EB437951D2542
1 changed files with 6 additions and 2 deletions

View File

@ -189,8 +189,12 @@ function initialize(cb) {
function basicInit(callback) {
logger.init();
logger.log.info(
{ version : require('../package.json').version },
'**** ENiGMA½ Bulletin Board System Starting Up! ****');
{
version : require('../package.json').version,
nodeVersion : process.version,
},
'**** ENiGMA½ Bulletin Board System Starting Up! ****'
);
process.on('SIGINT', shutdownSystem);