This commit is contained in:
team3
2026-06-03 22:05:20 +02:00
parent d7e8df6876
commit 40de56c27b
5119 changed files with 552560 additions and 24 deletions

View File

@@ -0,0 +1,48 @@
monolog:
channels:
- deprecation
handlers:
file_log:
type: rotating_file
path: "%kernel.logs_dir%/%kernel.environment%.log"
level: error
when@dev:
monolog:
handlers:
main:
type: stream
path: '%kernel.logs_dir%/dev.log'
level: debug
channels: ['!event']
deprecation:
type: stream
path: '%kernel.logs_dir%/deprecations.log'
level: info
channels: [deprecation]
stdout:
type: stream
path: php://stdout
level: debug
channels: ['!event']
when@prod:
monolog:
handlers:
file:
type: rotating_file
path: "%kernel.logs_dir%/%kernel.environment%.log"
level: info
channels: ['!event']
formatter: monolog.formatter.line
deprecation:
type: rotating_file
path: '%kernel.logs_dir%/deprecations.log'
level: warning
channels: [deprecation]