Skip to content

Commit

Permalink
used predefined logger format with colored http status
Browse files Browse the repository at this point in the history
  • Loading branch information
Benoit Verdier committed Feb 18, 2016
1 parent dc42894 commit 47bce71
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions tasks/connect.js
Original file line number Diff line number Diff line change
Expand Up @@ -121,9 +121,7 @@ module.exports = function(grunt) {

// If --debug was specified, enable logging.
if (grunt.option('debug') || options.debug === true) {
morgan.format('grunt', ('[D] server :method :url :status ' +
':res[content-length] - :response-time ms').magenta);
middleware.unshift(morgan('grunt'));
middleware.unshift(morgan('dev'));
}

// Start server.
Expand Down

0 comments on commit 47bce71

Please sign in to comment.