imports:
    - { resource: config.yml }

fos_http_cache:
    proxy_client:
        default: varnish

framework:
    router:
        strict_requirements: false

# Doctrine Configuration
doctrine:
    orm:
        metadata_cache_driver: redis
        query_cache_driver: redis
        result_cache_driver: redis

monolog:
    use_microseconds: false
    handlers:
        main:
            type:         fingers_crossed
            action_level: error
            handler:      grouped
        grouped:
            type:    group
            members: [streamed, buffered]
        buffered:
            type:    buffer
            handler: swift
        swift:
            type:       swift_mailer
            from_email: guillaume.sainthillier@gmail.com
            to_email:   guillaume.sainthillier@gmail.com
            subject:    Erreur sur By Night
            level:      critical
            formatter:    tbn.monolog_formatter
        streamed:
            type:  stream
            path:  "%kernel.logs_dir%/%kernel.environment%.log"
            level: error

imports:
    - { resource: config.yml }

fos_http_cache:
    proxy_client:
        default: varnish

framework:
    router:
        strict_requirements: false

# Doctrine Configuration
doctrine:
    orm:
        metadata_cache_driver: apcu
        query_cache_driver: apcu
        result_cache_driver: apcu

monolog:
    use_microseconds: false
    handlers:
        main:
            type:         fingers_crossed
            action_level: error
            handler:      grouped
        grouped:
            type:    group
            members: [streamed, buffered]
        buffered:
            type:    buffer
            handler: swift
        swift:
            type:       swift_mailer
            from_email: guillaume.sainthillier@gmail.com
            to_email:   guillaume.sainthillier@gmail.com
            subject:    Erreur sur By Night
            level:      critical
            formatter:    tbn.monolog_formatter
        streamed:
            type:  stream
            path:  "%kernel.logs_dir%/%kernel.environment%.log"
            level: error

Change redis to apcu for metadata cache
Change redis to apcu for metadata cache
