diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2020-12-29 10:50:53 +0100 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2020-12-29 10:50:53 +0100 |
commit | 179de95f8108fde9271637fab45fe648ff25771e (patch) | |
tree | 7c74c3de4499e07ec513e7700a48cd2f8218de43 /lib/private/Log/Errorlog.php | |
parent | 083f3d23737b99fafec87c64df99e9c09cde71c7 (diff) | |
download | nextcloud-server-179de95f8108fde9271637fab45fe648ff25771e.tar.gz nextcloud-server-179de95f8108fde9271637fab45fe648ff25771e.zip |
Avoid huge exception argument logging
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>
Diffstat (limited to 'lib/private/Log/Errorlog.php')
0 files changed, 0 insertions, 0 deletions