Closed
Description
In the node-custom-server
template, this line is too late:
This means that morgan won't run at all.
Personally I like just logging in production, since logging every request in development can be noisy. So I would move the morgan()
call right below this line:
It could alternatively be moved above the "/assets"
handler if you wanted to log requests to static assets as well.
Metadata
Metadata
Assignees
Labels
No labels