diff --git a/src/Symfony/Bundle/MonologBundle/DependencyInjection/Compiler/DebugHandlerPass.php b/src/Symfony/Bundle/MonologBundle/DependencyInjection/Compiler/DebugHandlerPass.php index 18cf049397..4c9dfd7e79 100644 --- a/src/Symfony/Bundle/MonologBundle/DependencyInjection/Compiler/DebugHandlerPass.php +++ b/src/Symfony/Bundle/MonologBundle/DependencyInjection/Compiler/DebugHandlerPass.php @@ -18,14 +18,12 @@ use Symfony\Component\DependencyInjection\Definition; use Monolog\Logger; /** - * Replaces the default logger by another one with its own channel for tagged services. + * Adds the DebugHandler when the profiler is enabled. * * @author Christophe Coevoet */ class DebugHandlerPass implements CompilerPassInterface { - protected $channels = array(); - public function process(ContainerBuilder $container) { if (!$container->hasDefinition('monolog.logger_prototype') || !$container->hasDefinition('profiler')) {