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
Is there a way to be able to not allow logging of Result even if the log level debug/trace is turned on?
I generally worry about logging Results from any library since it could easily contain an object or string with Sensitive data. We cannot rely on Debug being turned off since support and developers can escalate logging in our system.
What code or approach do you have so far?
I have been looking at code, but cannot identify a way to be able to do what I am asking.
Additional context
No response
The text was updated successfully, but these errors were encountered:
@martincostello I do not believe so that ticket is meant to change the Severity/Loglevel, not make sure that the value of Result is Never logged. For example we have a Polly that ends up with a string that is JWT token which I NEVER want logged even if Debug is turned on. It is currently logging the JWT token in the Result.
What are you wanting to achieve?
Is there a way to be able to not allow logging of Result even if the log level debug/trace is turned on?
I generally worry about logging Results from any library since it could easily contain an object or string with Sensitive data. We cannot rely on Debug being turned off since support and developers can escalate logging in our system.
What code or approach do you have so far?
I have been looking at code, but cannot identify a way to be able to do what I am asking.
Additional context
No response
The text was updated successfully, but these errors were encountered: