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
{{ message }}
Repository navigation
Developer manual: document registerSensitiveMethods() in logging.rst #15680
developer_manual/basics/logging.rst doesn't explain how apps keep secrets out of logged stack traces.
Add a short section on IRegistrationContext::registerSensitiveMethods(): apps register methods that take secrets, and the logger replaces their arguments in exception stack traces.
Add a note that this only covers stack traces: never put passwords, tokens or personal data into a log message yourself.
developer_manual/basics/logging.rstdoesn't explain how apps keep secrets out of logged stack traces.IRegistrationContext::registerSensitiveMethods(): apps register methods that take secrets, and the logger replaces their arguments in exception stack traces.