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
I'm looking at the default request/response logs coming from the logger and it just includes everything from the request and response, which is not the best scenario for us as some headers might include PII. How do I intercept or modify the default logger to remove or cherry pick which fields I want?
Is it better to ditch this and just use Pino and write our own logger middleware?
The text was updated successfully, but these errors were encountered:
@gestrada-kr Did you notice that after an upgrade from a previous major version? This wasn't a thing for my project until now that I'm trying to upgrade to latest (v4.0.0).
I'm looking at the default request/response logs coming from the logger and it just includes everything from the request and response, which is not the best scenario for us as some headers might include PII. How do I intercept or modify the default logger to remove or cherry pick which fields I want?
Is it better to ditch this and just use Pino and write our own logger middleware?
The text was updated successfully, but these errors were encountered: