Closed tdutrion closed 5 years ago
If there is no Monolog in prod, what about this prod config file, do you let him go ? And what about logging in production ? : https://github.com/DarkmiraTour/community-event-manager/blob/develop/config/packages/prod/monolog.yaml
This is something really common in Symfony 4 applications because the monolog-bundle is in the symfony/debug-pack.
To fix this and still have monolog in production I follow this step:
Hope it will help !
I would still be in favour of removing it from production since Symfony\Component\HttpKernel\Log\Logger
can do the job for us there.
What do you think @cvilleger and @hermann8u considering the class above is available for sure in production?
PR information
Description
Monolog is only required in dev yet, so it can't work in prod