]> Raphaël G. Git Repositories - airlibre/commitdiff
Recipe symfony/monolog-bundle update
authorRaphaël Gertz <git@rapsys.eu>
Thu, 26 Nov 2026 17:58:45 +0000 (18:58 +0100)
committerRaphaël Gertz <git@rapsys.eu>
Thu, 26 Nov 2026 17:58:45 +0000 (18:58 +0100)
config/packages/monolog.yaml

index bf054526d01d28b654ce4deb143828ea036f78bc..22d706bc2d910dc00eb736563b4d6e21792ae2c0 100644 (file)
@@ -1,5 +1,5 @@
 monolog:
-    channels:
+    channels: # To see all channels, run bin/console debug:autowiring logger
         - deprecation # Deprecations are logged in the dedicated "deprecation" channel when it exists
 
 when@dev:
@@ -11,14 +11,6 @@ when@dev:
                 level: debug
                 formatter: monolog.formatter.line
                 channels: ["!event"]
-            # uncomment to get logging in your browser
-            # you may have to allow bigger header sizes in your Web server configuration
-            #firephp:
-            #    type: firephp
-            #    level: info
-            #chromephp:
-            #    type: chromephp
-            #    level: info
             console:
                 type: console
                 process_psr_3_messages: false
@@ -46,6 +38,7 @@ when@prod:
                 action_level: error
                 handler: nested
                 excluded_http_codes: [404, 405]
+                channels: ["!deprecation"]
                 buffer_size: 50 # How many messages should be saved? Prevent memory leaks
             nested:
                 type: stream