aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/app.js
diff options
context:
space:
mode:
authorDennis Eriksen <dennis.se@gmail.com>2013-05-01 10:59:02 +0200
committerDennis Eriksen <dennis.se@gmail.com>2013-05-01 10:59:02 +0200
commitc97de0454c16ae883d9237e5b3fb292e282af53e (patch)
tree34e37b84c663b9c71f59fcf5c2ac7aba9a4d57e2 /app.js
parentMerge branch 'master' of github.com:dennisse/Divid (diff)
downloadDivid-c97de0454c16ae883d9237e5b3fb292e282af53e.tar.gz
better logging
Diffstat (limited to 'app.js')
-rw-r--r--app.js2
1 files changed, 1 insertions, 1 deletions
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