From 374b45c1260cab3a8c26706241a0496152f0856d Mon Sep 17 00:00:00 2001 From: Liran Tal Date: Tue, 18 Nov 2014 23:00:52 +0200 Subject: [PATCH] providing more verbose output for current nodejs app configuration on application startup --- server.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/server.js b/server.js index 98d108bbcb..a88f8feccf 100755 --- a/server.js +++ b/server.js @@ -33,4 +33,9 @@ app.listen(config.port); exports = module.exports = app; // Logging initialization -console.log('MEAN.JS application started on port ' + config.port); \ No newline at end of file +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('--'); \ No newline at end of file