Skip to content

Commit

Permalink
Sync monolog config
Browse files Browse the repository at this point in the history
  • Loading branch information
phavekes committed Apr 16, 2024
1 parent e17a0e6 commit 4f7f7f6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions config/packages/monolog.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,17 @@ monolog:
type: fingers_crossed
action_level: ERROR
passthru_level: NOTICE # this means that all message of level NOTICE or higher are always logged
channels: [ "!event" ]
handler: main_syslog
bubble: false # if we handle it, nothing else should
main_syslog:
type: stream
path: "php://stderr"
formatter: surfnet_stepup.monolog.json_formatter
channels: [ "!event" ]

when@dev:
when@test: &test
when@test:
monolog:
handlers:
main_syslog:
Expand All @@ -24,5 +26,3 @@ when@test: &test
type: console
process_psr_3_messages: false
channels: ["!event", "!doctrine", "!deprecation", "!console"]

when@smoketest: *test

0 comments on commit 4f7f7f6

Please sign in to comment.