monolog.yaml (1030B) download
1monolog:
2 channels:
3 - deprecation # Deprecations are logged in the dedicated "deprecation" channel when it exists
4
5when@dev:
6 monolog:
7 handlers:
8 main:
9 type: rotating_file
10 max_files: 10
11 path: "%kernel.logs_dir%/%kernel.environment%.log"
12 level: info
13 formatter: 'memory.custom-formatter'
14 doctrine:
15 type: stream
16 path: "%kernel.logs_dir%/doctrine.log"
17 level: info
18 channels: ['doctrine']
19 formatter: 'memory.custom-formatter'
20 routes:
21 type: stream
22 path: "%kernel.logs_dir%/request.log"
23 level: info
24 channels: ['request']
25 formatter: 'memory.custom-formatter'
26 error:
27 type: stream
28 path: "%kernel.logs_dir%/error.log"
29 level: error
30 formatter: 'memory.custom-formatter'
31