I would like to use express-winston purely for logging purposes, but it turns out that it's automatically using res to send a response to the client, and there doesn't seem to be any option to disable it.
Is there any way to get the logging but without express-winston deciding to send responses to the client automatically? I have my own error middleware for sending error data, and this package is effectively conflicting with that.
I expected this package to be only for logging, what is the reasoning behind also having it take control of the response?
I would like to use
express-winston
purely for logging purposes, but it turns out that it's automatically usingres
to send a response to the client, and there doesn't seem to be any option to disable it.Is there any way to get the logging but without
express-winston
deciding to send responses to the client automatically? I have my own error middleware for sending error data, and this package is effectively conflicting with that.I expected this package to be only for logging, what is the reasoning behind also having it take control of the response?