Add Node.js version to startup log
This commit is contained in:
parent
db91d6d6b7
commit
714f32f695
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue