From c97de0454c16ae883d9237e5b3fb292e282af53e Mon Sep 17 00:00:00 2001 From: Dennis Eriksen Date: Wed, 1 May 2013 10:59:02 +0200 Subject: better logging --- app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app.js') diff --git a/app.js b/app.js index 618ef8d..a0f7ae1 100644 --- a/app.js +++ b/app.js @@ -20,7 +20,7 @@ mongoose.connect(config.db); var db = mongoose.connection; db.on('error', console.error.bind(console, 'connection error:')); db.once('open', function callback(){ - console.log('Connected to MongoDB'); + console.log('Connected to ' + config.db); }); // Bootstrap models -- cgit v1.2.3