V-Beta-1.0.0
Vision is out of alpha !
This commit is contained in:
22
config/packages/prod/monolog.yaml
Normal file
22
config/packages/prod/monolog.yaml
Normal file
@@ -0,0 +1,22 @@
|
||||
monolog:
|
||||
handlers:
|
||||
main:
|
||||
type: fingers_crossed
|
||||
action_level: error
|
||||
handler: nested
|
||||
excluded_http_codes: [404, 405]
|
||||
buffer_size: 50 # How many messages should be saved? Prevent memory leaks
|
||||
nested:
|
||||
type: rotating_file
|
||||
path: "%kernel.logs_dir%/%kernel.environment%.log"
|
||||
level: warning
|
||||
formatter: monolog.formatter.json
|
||||
app:
|
||||
type: stream
|
||||
path: "%kernel.logs_dir%/%kernel.environment%.app.log"
|
||||
level: warning
|
||||
channels: ["!event"]
|
||||
console:
|
||||
type: console
|
||||
process_psr_3_messages: false
|
||||
channels: ["!event", "!doctrine"]
|
||||
Reference in New Issue
Block a user