gruntjs / grunt-contrib-connect

Start a static web server.
http://gruntjs.com
MIT License
714 stars 146 forks source link

Fixing debug logging. #188

Closed theturtle32 closed 9 years ago

theturtle32 commented 9 years ago

Logging (when using the --debug flag) has been broken since upgrading to Connect 3.x, because they removed connect.logger. The following error message causes Grunt to abort operations whenever using --debug:

Warning: Cannot read property 'format' of undefined Use --force to continue.

The logger middleware is now extracted into its own module called morgan.

This patch updates grunt-contrib-connect to use morgan.