我当前的配置:
monolog:
handlers:
target_main:
type: fingers_crossed
action_level: debug
handler: file_log
channels: ['!security' '!request']
file_log:
type: rotating_file
path: "%kernel.logs_dir%/%kernel.environment%.log"
level: debug
max_files: 2
现在请求通道已完全从file_log处理程序中排除。我需要从频道请求中排除仅action_level-调试,而不是完全请求频道。 symfony monolog配置是否可行?如果是,怎么办?