feat: integrate Monolog for enhanced logging across providers and controller

This commit is contained in:
2026-05-29 18:57:25 +02:00
parent 8b8ec9ab2f
commit cceda8abf2
11 changed files with 226 additions and 2 deletions
+26
View File
@@ -0,0 +1,26 @@
monolog:
channels:
- deprecation
when@dev:
monolog:
handlers:
main:
type: stream
path: '%kernel.logs_dir%/%kernel.environment%.log'
level: debug
channels: ['!event']
when@prod:
monolog:
handlers:
main:
type: stream
path: php://stderr
level: warning
channels: ['!event']
deprecation:
type: stream
channels: [deprecation]
path: '%kernel.logs_dir%/%kernel.environment%.deprecations.log'
level: info