thecodingmachine / symfony-vuejs

Source code of the tutorial "Building a single-page application with Symfony 4 and Vue.js"
https://thecodingmachine.io/building-a-single-page-application-with-symfony-4-and-vuejs
MIT License
178 stars 50 forks source link

Adding logging of stack traces in Symfony logs #38

Closed moufmouf closed 4 years ago

moufmouf commented 4 years ago

By default, Symfony does not log stack traces in its logs.

...

Yeah... this is very surprising, but it's true. This commit configures a special Monolog formatter that actually logs stack traces (so we can see where a problem occurs in production logs!)