Skip to content

Commit 64989c7

Browse files
committed
Exclude from prod's logs the channel 'deprecation'
1 parent 5059c42 commit 64989c7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

api/config/packages/monolog.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ when@prod:
4545
action_level: error
4646
handler: nested
4747
excluded_http_codes: [404, 405]
48+
channels: ["!deprecation"]
4849
buffer_size: 50 # How many messages should be saved? Prevent memory leaks
4950
nested:
5051
type: stream

0 commit comments

Comments
 (0)