<?xml version="1.0" ?>

<container xmlns="http://symfony.com/schema/dic/services"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd">

    <parameters>
        <parameter key="monolog.logger.class">Symfony\Bridge\Monolog\Logger</parameter>
        <parameter key="monolog.gelf.publisher.class">Gelf\MessagePublisher</parameter>
        <parameter key="monolog.handler.stream.class">Monolog\Handler\StreamHandler</parameter>
        <parameter key="monolog.handler.console.class">Symfony\Bridge\Monolog\Handler\ConsoleHandler</parameter>
        <parameter key="monolog.handler.group.class">Monolog\Handler\GroupHandler</parameter>
        <parameter key="monolog.handler.buffer.class">Monolog\Handler\BufferHandler</parameter>
        <parameter key="monolog.handler.rotating_file.class">Monolog\Handler\RotatingFileHandler</parameter>
        <parameter key="monolog.handler.syslog.class">Monolog\Handler\SyslogHandler</parameter>
        <parameter key="monolog.handler.null.class">Monolog\Handler\NullHandler</parameter>
        <parameter key="monolog.handler.test.class">Monolog\Handler\TestHandler</parameter>
        <parameter key="monolog.handler.gelf.class">Monolog\Handler\GelfHandler</parameter>
        <parameter key="monolog.handler.firephp.class">Symfony\Bridge\Monolog\Handler\FirePHPHandler</parameter>
        <parameter key="monolog.handler.chromephp.class">Symfony\Bridge\Monolog\Handler\ChromePhpHandler</parameter>
        <parameter key="monolog.handler.debug.class">Symfony\Bridge\Monolog\Handler\DebugHandler</parameter>
        <parameter key="monolog.handler.swift_mailer.class">Symfony\Bridge\Monolog\Handler\SwiftMailerHandler</parameter>
        <parameter key="monolog.handler.native_mailer.class">Monolog\Handler\NativeMailerHandler</parameter>
        <parameter key="monolog.handler.socket.class">Monolog\Handler\SocketHandler</parameter>
        <parameter key="monolog.handler.pushover.class">Monolog\Handler\PushoverHandler</parameter>
        <parameter key="monolog.handler.raven.class">Monolog\Handler\RavenHandler</parameter>
        <parameter key="monolog.handler.newrelic.class">Monolog\Handler\NewRelicHandler</parameter>
        <parameter key="monolog.handler.hipchat.class">Monolog\Handler\HipChatHandler</parameter>
        <parameter key="monolog.handler.cube.class">Monolog\Handler\CubeHandler</parameter>
        <parameter key="monolog.handler.amqp.class">Monolog\Handler\AmqpHandler</parameter>
        <parameter key="monolog.handler.error_log.class">Monolog\Handler\ErrorLogHandler</parameter>
        <parameter key="monolog.handler.loggly.class">Monolog\Handler\LogglyHandler</parameter>
        <parameter key="monolog.activation_strategy.not_found.class">Symfony\Bundle\MonologBundle\NotFoundActivationStrategy</parameter>

        <parameter key="monolog.handler.fingers_crossed.class">Monolog\Handler\FingersCrossedHandler</parameter>
        <parameter key="monolog.handler.fingers_crossed.error_level_activation_strategy.class">Monolog\Handler\FingersCrossed\ErrorLevelActivationStrategy</parameter>
        <parameter key="monolog.handler.mongo.class">Monolog\Handler\MongoDBHandler</parameter>
        <parameter key="monolog.mongo.client.class">MongoClient</parameter>

    </parameters>

    <services>
        <service id="monolog.logger" parent="monolog.logger_prototype" public="false">
            <argument index="0">app</argument>
        </service>

        <service id="logger" alias="monolog.logger" />

        <service id="monolog.logger_prototype" class="%monolog.logger.class%" abstract="true">
            <argument /><!-- Channel -->
        </service>
    </services>
</container>
