diff options
author | Dennis Eriksen <dennis.se@gmail.com> | 2013-05-01 10:59:02 +0200 |
---|---|---|
committer | Dennis Eriksen <dennis.se@gmail.com> | 2013-05-01 10:59:02 +0200 |
commit | c97de0454c16ae883d9237e5b3fb292e282af53e (patch) | |
tree | 34e37b84c663b9c71f59fcf5c2ac7aba9a4d57e2 /app.js | |
parent | Merge branch 'master' of github.com:dennisse/Divid (diff) | |
download | Divid-c97de0454c16ae883d9237e5b3fb292e282af53e.tar.gz |
better logging
Diffstat (limited to 'app.js')
-rw-r--r-- | app.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |