mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-23 02:09:03 +02:00
Added some dataprocessors to monolog to add more context to error logs
This commit is contained in:
parent
49d7a527f5
commit
209c493732
1 changed files with 17 additions and 0 deletions
|
@ -245,3 +245,20 @@ services:
|
||||||
App\Command\BackupCommand:
|
App\Command\BackupCommand:
|
||||||
arguments:
|
arguments:
|
||||||
$project_dir: '%kernel.project_dir%'
|
$project_dir: '%kernel.project_dir%'
|
||||||
|
|
||||||
|
####################################################################################################################
|
||||||
|
# Monolog
|
||||||
|
####################################################################################################################
|
||||||
|
# Add various monolog processors to log more information
|
||||||
|
Symfony\Bridge\Monolog\Processor\WebProcessor:
|
||||||
|
tags:
|
||||||
|
- { name: monolog.processor }
|
||||||
|
|
||||||
|
Symfony\Bridge\Monolog\Processor\ConsoleCommandProcessor:
|
||||||
|
tags:
|
||||||
|
- { name: monolog.processor }
|
||||||
|
|
||||||
|
Symfony\Bridge\Monolog\Processor\TokenProcessor:
|
||||||
|
autowire: true
|
||||||
|
tags:
|
||||||
|
- { name: monolog.processor }
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue