Skip to content

Commit f63e330

Browse files
authored
Don't log deprecations twice in prod (#1454)
1 parent 3218a65 commit f63e330

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

symfony/monolog-bundle/3.7/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)