mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-03-04 19:41:16 +01:00
Improved logging at startup
This commit is contained in:
3
app.js
3
app.js
@@ -91,7 +91,8 @@ function start() {
|
||||
nconf.set('themes_dir', path.resolve(__dirname, nconf.get('themes_dir')));
|
||||
|
||||
winston.info('Time: ' + new Date());
|
||||
winston.info('Initializing NodeBB v' + pkg.version + ', using ' + nconf./**/get('database') +' store at ' + nconf.get(nconf.get('database') + ':host') + ':' + nconf.get(nconf.get('database') + ':port') + '.');
|
||||
winston.info('Initializing NodeBB v' + pkg.version);
|
||||
winston.info('* using ' + nconf.get('database') +' store at ' + nconf.get(nconf.get('database') + ':host') + ':' + nconf.get(nconf.get('database') + ':port'));
|
||||
|
||||
if (process.env.NODE_ENV === 'development') {
|
||||
winston.info('Base Configuration OK.');
|
||||
|
||||
Reference in New Issue
Block a user