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
For example, in requests I recieve some secret token, and I don't want it to be in logs. So I obfuscate it. But by token I get some not-secret internal ID. It is stored in Spring Authentication. Can I somehow add it to log output?
The text was updated successfully, but these errors were encountered:
Djaler
changed the title
Add custom request infi
Add custom request info
Feb 21, 2018
https://github.com/zalando/logbook#filtering is primarily designed for obfuscation, but you can modify the request in any way you like. You could write your own (raw) request filter that sets that ID as a fake header, for example.
For example, in requests I recieve some secret token, and I don't want it to be in logs. So I obfuscate it. But by token I get some not-secret internal ID. It is stored in Spring Authentication. Can I somehow add it to log output?
The text was updated successfully, but these errors were encountered: