private function loadLoggerDefinition()
    {
        $logger_class = $this->container->getParameter('bbapp.logger.class');
        if (true === $this->container->getParameter('debug')) {
            $logger_class = $this->container->getParameter('bbapp.logger_debug.class');
        }

        $this->container->setDefinition('logging', new Definition($logger_class, array(new Reference('bbapp'))));
    }