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]