diff --git a/package.json b/package.json index 0d9c39f..72cada3 100644 --- a/package.json +++ b/package.json @@ -26,7 +26,7 @@ }, "dependencies": { "aws-sdk": "~2.0.0-rc9", - "chalk": "~1.0.0", + "chalk": "^1.1.3", "commander": "^2.2.0", "concat-stream": "~1.4.5", "errorhandler": "^1.0.1", @@ -36,7 +36,7 @@ "lodash": "~2.4.1", "map-stream": "~0.1.0", "mkdirp": "^0.5.0", - "morgan": "^1.0.1", + "morgan": "^1.7.0", "request": "~2.34.0", "sharp": "^0.15.0", "twit": "~1.1.15" diff --git a/src/config/production.js b/src/config/production.js index 2e81b9b..6156ea8 100644 --- a/src/config/production.js +++ b/src/config/production.js @@ -10,7 +10,7 @@ errorHandler = require('errorhandler'); module.exports = function(app){ app.set('port', process.env.PORT || 3001); - app.use(morgan('dev')); + app.use(morgan('short')); app.use(errorHandler()); }; diff --git a/src/utils/logger.js b/src/utils/logger.js index dbd362c..057bf7a 100644 --- a/src/utils/logger.js +++ b/src/utils/logger.js @@ -9,8 +9,6 @@ slice = [].slice; prefix = env.LOG_PREFIX; queueLog = env.QUEUE_LOG; -chalk.enabled = true; - function Logger(){ this.queue = [];