connect logger not logging 200 requests #639

Closed
furtivefelon opened this Issue Aug 4, 2012 · 2 comments

Projects

None yet

2 participants

@furtivefelon

Hi all,

I am using connect logger with express in the following fashion: app.use(express.logger('dev'))

However, i am noticing that it is not logging everything, as in, it only logs 500/404 etc, but not 200. It makes debugging sometimes more difficult than necessary. Anyone else is having this problem?

Thanks a lot!

Jason

Member
tj commented Aug 4, 2012

it should log them all if you actually have responses, are you sure something isn't hanging? keep in mind this is positional as well, you want this middleware typically above all the others

ah yes, moving it to above everything solved the problem for me, thanks a lot for your prompt help!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment