Skip to content

Commit

Permalink
Sync the monolog config
Browse files Browse the repository at this point in the history
  • Loading branch information
MKodde committed Apr 16, 2024
1 parent ce7572f commit 8c252eb
Showing 1 changed file with 12 additions and 8 deletions.
20 changes: 12 additions & 8 deletions config/packages/monolog.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,25 @@ 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
console:
type: console
process_psr_3_messages: false
channels: [ "!event" ]

when@dev:
when@test:
monolog:
handlers:
prod-signaler:
channels: ['!event']
type: fingers_crossed
action_level: INFO
passthru_level: INFO
main_syslog:
type: stream
path: php://stderr
level: error
channels: ["!event", "!doctrine", "!deprecation", "!console"]
console:
type: console
process_psr_3_messages: false
channels: ["!event", "!doctrine", "!deprecation", "!console"]

0 comments on commit 8c252eb

Please sign in to comment.