From 650900252c24065d757ba552cc93bb3f230f47a2 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 3c3ff95f8e133..0758e48197a6b 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 */