From 71394fc8cb8cf86aad5e7c2806b1913e5c43af84 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 3c3ff95f8e1..0758e48197a 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 */ -- 2.39.5