Open DanielDubeSp opened 5 years ago
I can add an attribute, but I don't see how we can mark the confidential parameters. The weaver needs to decide whether to include it the param arrays or not. Alternatively the log adapter can decide (this time it gets the data, but it won't write it to the log), but the question still remains, how to decide what is confidential.
Are there any news about this? For me it would be enough if I could disable lagging of parameter values completly.
Added the possibility to use NoTrace on parameters and use NoReturnTrace on method to disable return value tracing.
Cool!
But can you tell how I use these in my config?
`
`
Passwords and any confidential info can be accidentally logged if parameter values are logged. We can put an attribute [NoTrace] but I think can be better to disable it globally. A new value on FodyWeawers.Xml will be also dangerous because an admin user can comment this 'disable' option. An attribute by assembly?
Thanks for your work and your time!!