Permalink
Browse files

get express logger working again

  • Loading branch information...
1 parent 9b54703 commit 658ab4b9915b17d1cfd487be97e76adf221eaa62 @gillesruppert committed Apr 16, 2012
View
@@ -5,14 +5,14 @@ module.exports = function(app) {
app.configure(function(){
app.set('views', __dirname + '/views')
app.set('view engine', 'jade')
+ app.use(express.logger())
app.use(express.bodyParser())
app.use(express.methodOverride())
app.use(app.router)
app.use(express.static(__dirname + '/public'))
})
app.configure('development', function(){
- app.use(express.logger())
app.use(express.errorHandler({ dumpExceptions: true, showStack: true }))
app.logger = new Logger({
env: 'development'

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.

0 comments on commit 658ab4b

Please sign in to comment.