From e119c14451e0439a2347fbbf0f71874da53a155d Mon Sep 17 00:00:00 2001 From: Manuel Aranda Date: Wed, 2 Apr 2025 21:28:39 +0200 Subject: [PATCH] refs #1741. Syslog --- config/packages/monolog.yaml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/config/packages/monolog.yaml b/config/packages/monolog.yaml index d0608d0..59cb0fb 100644 --- a/config/packages/monolog.yaml +++ b/config/packages/monolog.yaml @@ -15,6 +15,12 @@ when@dev: type: console process_psr_3_messages: false channels: ["!event", "!doctrine", "!console"] + syslog: + type: syslog + ident: "ogcore" + level: info + formatter: App\Formatter\CustomLineFormatter + channels: ["!event"] when@test: monolog: @@ -42,6 +48,12 @@ when@prod: type: console process_psr_3_messages: false channels: ["!event", "!doctrine"] + syslog: + type: syslog + ident: "ogcore" + level: info + formatter: App\Formatter\CustomLineFormatter + channels: ["!event"] deprecation: type: stream channels: [deprecation]