diff --git a/server.js b/server.js index 093f463e15..8ea85f78fb 100755 --- a/server.js +++ b/server.js @@ -11,6 +11,7 @@ var express = require('express') , fs = require('fs') , passport = require('passport') + , logger = require('mean-logger') /** * Main application entry file. @@ -49,5 +50,8 @@ var port = process.env.PORT || 3000 app.listen(port) console.log('Express app started on port '+port) +//Initializing logger +logger.init(app, passport, mongoose) + // expose app exports = module.exports = app