From 431cf236008ab2b1b959cf419523e42290dd0290 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20B=C3=B6hmer?= Date: Sun, 31 Aug 2025 15:11:31 +0200 Subject: [PATCH] Do not pollute docker logs with deprecation notices in error case --- config/packages/monolog.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/config/packages/monolog.yaml b/config/packages/monolog.yaml index 44a078b8..725ebd7c 100644 --- a/config/packages/monolog.yaml +++ b/config/packages/monolog.yaml @@ -69,6 +69,7 @@ when@docker: excluded_http_codes: [404, 405] buffer_size: 50 # How many messages should be saved? Prevent memory leaks include_stacktraces: true + channels: ["!deprecation"] nested: type: stream path: "php://stderr"