You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.
I was trying to move from morgan to express-pino-logger but noticed that a log is not output when there's a timeout. morgan will output it with a status code of - but express-pino-logger doesn't output anything. Is there a setting to enable that output?
The text was updated successfully, but these errors were encountered:
I feel like that should have a different msg than request completed, like connection closed. To my knowledge, there's not a way to distinguish that like how err and statusCode are checked for the error event handling. So does it need to be it's own function?
What appears to be happening with statusCode is that express is setting the res.statusCode to 200 and then that's being output, so that's probably more argument for the handler of the close event to be it's own function.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I was trying to move from
morgan
toexpress-pino-logger
but noticed that a log is not output when there's a timeout.morgan
will output it with a status code of-
butexpress-pino-logger
doesn't output anything. Is there a setting to enable that output?The text was updated successfully, but these errors were encountered: