I've found this PHP message in the symfony log :
php.INFO: The Symfony\Bundle\MonologBundle\DependencyInjection\Compiler\DebugHandlerPass class is deprecated since version 2.12 and will be removed in 3.0. Use AddDebugLogProcessorPass in FrameworkBundle instead. {"type":16384, "file":"/mnt/400Go/www/sy1/vendor/symfony/monolog-bundle/DependencyInjection/Compiler/DebugHandlerPass.php", "line":14, "level":28928, "stack":[...]
I'm using symfony 3.1.15 and Monolog 2.8+... So the thing should already be removed, no ?
I can see the messages within the DebugHandlerPass class in /vendor/symfony/monolog-bundle/DependencyInjection/Compiler/DebugHandlerPass.php
In /vendor/symfony/monolog-bundle/MonologBundle.php, there are two lines calling the DebugHandlerPass class :
use Symfony\Bundle\MonologBundle\DependencyInjection\Compiler\DebugHandlerPass;
$container->addCompilerPass(new DebugHandlerPass($channelPass));
But nowhere in the PHP files is a AddDebugLogProcessorPass class...
Maybe a version mismatch. If anyone could give me a hint, that would be great.
Best regards,
MC
Just update your "symfony/monolog-bundle" dependency to the latest 3.0 version, and it will do the trick ;)
https://packagist.org/packages/symfony/monolog-bundle
Regards,
There is a pending Pull Request, see https://github.com/symfony/monolog-bundle/pull/188. As soon as such PR will be merged, the deprecation INFO message will disappear.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With