Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

connect logger not logging 200 requests #639

Closed
furtivefelon opened this Issue · 2 comments

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

@tj
Owner
tj commented

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

@furtivefelon

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
Something went wrong with that request. Please try again.