Skip to content

[stable19] Avoid huge exception argument logging - #24875

Merged
juliusknorr merged 1 commit into
stable19from
backport/24874/stable19
Dec 29, 2020
Merged

[stable19] Avoid huge exception argument logging#24875
juliusknorr merged 1 commit into
stable19from
backport/24874/stable19

Conversation

@backportbot-nextcloud

Copy link
Copy Markdown

backport of #24874

In some cases it might happen that you have an argument that deep down
somewhere has an array with a lot of entries (think thousands). Now
before we would just happily print them all. Which would fill the log.
Now it will just print the first 5. And add a line that there are N
more.
If you are on debug level we will still print them all.
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
@rullzerrullzer added the 3. to review Waiting for reviews label Dec 29, 2020
@juliusknorr
juliusknorr merged commit 7d3bf1c into stable19Dec 29, 2020
@juliusknorr
juliusknorr deleted the backport/24874/stable19 branch December 29, 2020 13:09
@rullzerrullzer mentioned this pull request Jan 5, 2021
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to reviewWaiting for reviewsenhancement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@rullzer@juliusknorr