symfony / monolog-bundle

Symfony Monolog Bundle
symfony.com
MIT License
2.89k stars 231 forks source link

Reset service for logs buffer #477

Open HarasimowiczKamil opened 7 months ago

HarasimowiczKamil commented 7 months ago

I suggest adding a service implementing RestIntefrace by messanger worker in the integration to have independent buffers for each task. I think this should be in the default implementation https://symfony.com/doc/current/messenger.html#stateless-worker

lyrixx commented 7 months ago

Hello. What service is missing? Normaly, all services with a state are reset between each messages

HarasimowiczKamil commented 7 months ago

it's about debug logs when you use fingers_crossed

lyrixx commented 7 months ago

this service is resetted. Could you create a reproducer?