Skip to content

Commit 2f6b7df

Browse files
authored
Disable deprecation logs in prod mode (#663)
1 parent ad801d3 commit 2f6b7df

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

api/config/packages/monolog.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ when@prod:
5656
process_psr_3_messages: false
5757
channels: ["!event", "!doctrine"]
5858
deprecation:
59-
type: stream
59+
type: 'null' # Disable deprecation when APP_ENV=prod
6060
channels: [deprecation]
61-
path: php://stderr
62-
formatter: monolog.formatter.json
61+
#path: php://stderr
62+
#formatter: monolog.formatter.json

0 commit comments

Comments
 (0)