Add error log and phph error log
This commit is contained in:
parent
b4a68bcc4d
commit
f54f953029
|
|
@ -7,6 +7,7 @@ monolog:
|
||||||
- email_notifications
|
- email_notifications
|
||||||
- admin_actions
|
- admin_actions
|
||||||
- security
|
- security
|
||||||
|
- php
|
||||||
- deprecation # Deprecations are logged in the dedicated "deprecation" channel when it exists
|
- deprecation # Deprecations are logged in the dedicated "deprecation" channel when it exists
|
||||||
|
|
||||||
when@dev:
|
when@dev:
|
||||||
|
|
@ -47,6 +48,24 @@ when@test:
|
||||||
when@prod:
|
when@prod:
|
||||||
monolog:
|
monolog:
|
||||||
handlers:
|
handlers:
|
||||||
|
error:
|
||||||
|
type: fingers_crossed
|
||||||
|
action_level: critical
|
||||||
|
handler: error_nested
|
||||||
|
buffer_size: 50
|
||||||
|
|
||||||
|
error_nested:
|
||||||
|
type: rotating_file
|
||||||
|
path: "%kernel.logs_dir%/error.log"
|
||||||
|
level: debug
|
||||||
|
max_files: 30
|
||||||
|
|
||||||
|
php_errors:
|
||||||
|
type: rotating_file
|
||||||
|
path: "%kernel.logs_dir%/php_error.log"
|
||||||
|
level: warning # warnings, errors, fatals…
|
||||||
|
max_files: 30
|
||||||
|
channels: [ php ]
|
||||||
# User Management
|
# User Management
|
||||||
user_management:
|
user_management:
|
||||||
type: stream
|
type: stream
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue