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
The logger returned by the SetLogger(...) method is always configured to log the ClientIP obtained from the request context.
As zerolog has no way of editing or removing fields from an existing logger, can the middleware have configuration to remove this field?
Maybe there already is a way to do this that I am not aware of - if so, please point me to it :)
TL;DR: I do not want to log sensible data by default
Activity