Output application version at startup

This commit is contained in:
nioc 2019-11-23 20:39:22 +01:00
parent 9c5dd424bb
commit 7d0033d0f2

View file

@ -9,6 +9,10 @@ let config = require('./config')(logger)
// update logger with configuration
logger.updateConfig(config.logger)
// output application version
const { name, version } = require('./../package.json')
logger.info(`Start ${name} service - version ${version}`)
// load xmpp module
const xmpp = require('./xmpp')(logger, config)