]> Raphaël G. Git Repositories - blog/commitdiff
Recipe symfony/monolog-bundle update
authorRaphaël Gertz <git@rapsys.eu>
Wed, 25 Nov 2026 17:07:01 +0000 (18:07 +0100)
committerRaphaël Gertz <git@rapsys.eu>
Wed, 25 Nov 2026 17:07:01 +0000 (18:07 +0100)
config/packages/monolog.yaml
symfony.lock

index 9db7d8a7f1d3e669beb0ac44c1fa2883eba47228..8a4209739db2c47dcf183440cac2e48005d711fb 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:
@@ -10,14 +10,6 @@ when@dev:
                 path: "%kernel.logs_dir%/%kernel.environment%.log"
                 level: debug
                 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
@@ -45,6 +37,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
index 027e3c71ca9b9bb30e708609565914cc52d5469d..edfd1c5b7f28b79fe57b845bf23195b3a421f95d 100644 (file)
         ]
     },
     "symfony/monolog-bundle": {
-        "version": "3.10",
+        "version": "4.1",
         "recipe": {
             "repo": "github.com/symfony/recipes",
             "branch": "main",
             "version": "3.7",
-            "ref": "aff23899c4440dd995907613c1dd709b6f59503f"
+            "ref": "feb8fd9520b5694c7d0d2ba17fd4b4d33f9dd9cf"
         },
         "files": [
             "config/packages/monolog.yaml"