feat: add support for OTEL logs

This commit is contained in:
2024-01-18 18:37:41 +01:00
parent 1a3cf1c2e0
commit a618f27890
7 changed files with 128 additions and 12 deletions

View File

@@ -5,6 +5,10 @@ monolog:
when@dev:
monolog:
handlers:
otel:
type: service
id: App\Bridge\Monolog\Handler\SymfonyOtelHandler
main:
type: stream
path: "%kernel.logs_dir%/%kernel.environment%.log"