From d01f9e5fd5f757ad9f14b22b5e93d343541e245c Mon Sep 17 00:00:00 2001 From: Git'Fellow <12234510+solracsf@users.noreply.github.com> Date: Sun, 14 Jan 2024 22:45:48 +0100 Subject: [PATCH 1/2] Lower error to warning Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com> --- lib/private/Dashboard/Manager.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/private/Dashboard/Manager.php b/lib/private/Dashboard/Manager.php index 5a7e4f3c6dce4..2da3fdeb5b765 100644 --- a/lib/private/Dashboard/Manager.php +++ b/lib/private/Dashboard/Manager.php @@ -115,7 +115,7 @@ public function loadLazyPanels(): void { $endTime = microtime(true); $duration = $endTime - $startTime; if ($duration > 1) { - \OC::$server->get(LoggerInterface::class)->error( + \OC::$server->get(LoggerInterface::class)->warning( 'Dashboard widget {widget} took {duration} seconds to load.', [ 'widget' => $widget->getId(), From 53ad3a58ab09b7b427217f21e8f38e5b94c35cec Mon Sep 17 00:00:00 2001 From: Git'Fellow <12234510+solracsf@users.noreply.github.com> Date: Mon, 15 Jan 2024 09:29:22 +0100 Subject: [PATCH 2/2] Lower to info Co-authored-by: Simon L. Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com> --- lib/private/Dashboard/Manager.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/private/Dashboard/Manager.php b/lib/private/Dashboard/Manager.php index 2da3fdeb5b765..25a2df5d9dab7 100644 --- a/lib/private/Dashboard/Manager.php +++ b/lib/private/Dashboard/Manager.php @@ -115,7 +115,7 @@ public function loadLazyPanels(): void { $endTime = microtime(true); $duration = $endTime - $startTime; if ($duration > 1) { - \OC::$server->get(LoggerInterface::class)->warning( + \OC::$server->get(LoggerInterface::class)->info( 'Dashboard widget {widget} took {duration} seconds to load.', [ 'widget' => $widget->getId(),