From eb7dc14152028eb973a7103d9084f121f06fa781 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Edi=20Modri=C4=87?= Date: Fri, 17 Feb 2023 13:31:27 +0100 Subject: [PATCH] Exclude ibexa.cache channel from logs, separate deprecation channel to a separate log file --- config/packages/monolog.yaml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/config/packages/monolog.yaml b/config/packages/monolog.yaml index 2b0c191ea..eb970fc9f 100644 --- a/config/packages/monolog.yaml +++ b/config/packages/monolog.yaml @@ -9,7 +9,12 @@ when@dev: type: stream path: "%kernel.logs_dir%/%kernel.environment%.log" level: debug - channels: ["!event", "!doctrine"] + channels: ["!event", "!doctrine", "!ibexa.cache", "!deprecation"] + deprecation: + type: stream + path: "%kernel.logs_dir%/%kernel.environment%.deprecation.log" + level: debug + channels: ["deprecation"] # uncomment to get logging in your browser # you may have to allow bigger header sizes in your Web server configuration #firephp: