Skip to content

Conversation

@rullzer
Copy link
Member

@rullzer rullzer commented Dec 29, 2020

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 [email protected]

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 <[email protected]>
@rullzer rullzer added enhancement 3. to review Waiting for reviews labels Dec 29, 2020
@rullzer rullzer added this to the Nextcloud 21 milestone Dec 29, 2020
@rullzer rullzer merged commit c9fcf5f into master Dec 29, 2020
@rullzer rullzer deleted the enh/exception_logging branch December 29, 2020 10:38
@rullzer
Copy link
Member Author

rullzer commented Dec 29, 2020

/backport to stable20

@rullzer
Copy link
Member Author

rullzer commented Dec 29, 2020

/backport to stable19

@backportbot-nextcloud
Copy link

The backport to stable20 failed. Please do this backport manually.

@backportbot-nextcloud
Copy link

The backport to stable19 failed. Please do this backport manually.

@rullzer
Copy link
Member Author

rullzer commented Dec 29, 2020

/backport to stable20

@rullzer
Copy link
Member Author

rullzer commented Dec 29, 2020

/backport to stable19

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review Waiting for reviews enhancement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants