Skip to content
Snippets Groups Projects
Unverified Commit 4e47438b authored by Matthias Urhahn's avatar Matthias Urhahn Committed by GitHub
Browse files

Fix debug log censoring collisions (EXPOSUREAPP-7196) (#3230)


* Detect censoring collision and replace whole line with placeholder.
Give the debug logger an additional thread to parallelize censoring.

* Smart censoring collision handling.

* Tweak logging performance.

* Adjusted unit tests to censoring changes.

* Print stacktraces to debug log too!

* Make KLINT happy

* Adjust tests to changed log formatting.

* Add tests for throwable formatting in debuglogger lines.

* Re-enable debug tree.

* Fix incorrect censoring range. We need the range of the original match, not it's replacement.

* Fix duplicate new line if exceptions are logged.

Co-authored-by: default avatarKolya Opahle <k.opahle@sap.com>
Co-authored-by: default avatarharambasicluka <64483219+harambasicluka@users.noreply.github.com>
Co-authored-by: default avatarMohamed Metwalli <mohamed.metwalli@sap.com>
parent 836e83df
No related branches found
No related tags found
Loading
Showing
with 287 additions and 207 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment