From cd353d4268993d5a6c315c5ae8e06df755de4e50 Mon Sep 17 00:00:00 2001 From: pk7243959-wq Date: Mon, 12 Oct 2026 23:32:56 +0530 Subject: [PATCH] fix(log): prevent unredacted exception traces from leaking into logs (fixes #65398) Signed-off-by: pk7243959-wq --- lib/private/Log.php | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/private/Log.php b/lib/private/Log.php index abfe8eda0d88e..8c0b04e7896c2 100644 --- a/lib/private/Log.php +++ b/lib/private/Log.php @@ -342,6 +342,7 @@ public function logException(Throwable $exception, array $context = []): void { } unset($context['exception']); + unset($context['trace']); $context = array_map($this->normalizer->format(...), $context); $data = $context;