improved systemsdk/easy-log-bundle config. (#1916)

Co-authored-by: DKravtsov <dmytro.kravtsov@systemsdk.com>
This commit is contained in:
Dmitry Kravtsov
2026-01-07 12:08:21 +02:00
committed by GitHub
parent 31740036c1
commit 52c59cbe11
2 changed files with 31 additions and 0 deletions

View File

@@ -0,0 +1,23 @@
when@dev:
monolog:
handlers:
buffered:
type: buffer
handler: easylog
level: debug
channels: [ '!event' ]
easylog:
type: service
id: easy_log.handler
easy_log:
log_path: '%kernel.logs_dir%/%kernel.environment%-readable.log'
max_line_length: 120
prefix_length: 4
ignored_routes: [ '_wdt', '_profiler' ]
when@test:
easy_log:
log_path: '%kernel.logs_dir%/%kernel.environment%-readable.log'
max_line_length: 120
prefix_length: 4
ignored_routes: [ '_wdt', '_profiler' ]

View File

@@ -0,0 +1,8 @@
{
"bundles": {
"Systemsdk\\Bundle\\EasyLogBundle\\EasyLogBundle": ["dev", "test"]
},
"copy-from-recipe": {
"config/": "%CONFIG_DIR%/"
}
}