Skip to content

Commit

Permalink
providing more verbose output for current nodejs app configuration on…
Browse files Browse the repository at this point in the history
… application startup
  • Loading branch information
lirantal committed Nov 18, 2014
1 parent b92f232 commit 374b45c
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion server.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,9 @@ app.listen(config.port);
exports = module.exports = app;

// Logging initialization
console.log('MEAN.JS application started on port ' + config.port);
console.log('--');
console.log(chalk.green(config.app.title + ' application started'));
console.log(chalk.green('Environment:\t\t\t' + process.env.NODE_ENV));
console.log(chalk.green('Port:\t\t\t\t' + config.port));
console.log(chalk.green('Database:\t\t\t' + config.db));
console.log('--');

0 comments on commit 374b45c

Please sign in to comment.