mirror of
https://github.com/symfony/recipes-contrib.git
synced 2026-03-24 00:32:17 +01:00
improved systemsdk/easy-log-bundle config. (#1916)
Co-authored-by: DKravtsov <dmytro.kravtsov@systemsdk.com>
This commit is contained in:
@@ -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' ]
|
||||
8
systemsdk/easy-log-bundle/2.1/manifest.json
Normal file
8
systemsdk/easy-log-bundle/2.1/manifest.json
Normal file
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"bundles": {
|
||||
"Systemsdk\\Bundle\\EasyLogBundle\\EasyLogBundle": ["dev", "test"]
|
||||
},
|
||||
"copy-from-recipe": {
|
||||
"config/": "%CONFIG_DIR%/"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user