Skip to content

Commit

Permalink
Change logger type for development server.
Browse files Browse the repository at this point in the history
Change the *dev* logger to *short*, since log entries are not shown on a
terminal with the solarized theme.

expressjs/express#1700 (comment)
  • Loading branch information
crito committed Jan 8, 2014
1 parent 2be1d35 commit 88ae80e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ server = require('http').createServer(app)
app.configure ->
app.set('port', process.env.PORT or 5000)
app.use(express.favicon())
app.use(express.logger('dev'))
app.use(express.logger('short'))
app.use(express.bodyParser())
app.use(express.methodOverride())
app.use(app.router)
Expand Down

0 comments on commit 88ae80e

Please sign in to comment.