From 1b824542efd08166a95fbff58e1ef52f9b2306b8 Mon Sep 17 00:00:00 2001 From: Arthur Schiwon Date: Thu, 25 Aug 2022 11:48:03 +0200 Subject: [PATCH] logger ignore args of sharepoint-related methods Signed-off-by: Arthur Schiwon --- lib/private/Log/ExceptionSerializer.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lib/private/Log/ExceptionSerializer.php b/lib/private/Log/ExceptionSerializer.php index 1eba042fa15ee..5690be1cbeabc 100644 --- a/lib/private/Log/ExceptionSerializer.php +++ b/lib/private/Log/ExceptionSerializer.php @@ -100,6 +100,11 @@ class ExceptionSerializer { // Preview providers, don't log big data strings 'imagecreatefromstring', + + // Sharepoint, only up to NC24 + 'acquireSecurityToken', + 'acquireToken', + 'acquireTokenForUser', ]; /** @var SystemConfig */