services:
    Claroline\LogBundle\Subscriber\FunctionalLogSubscriber:
        arguments:
            - '@translator'
            - '@messenger.default_bus'
        tags:
            - { name: kernel.event_subscriber }

    Claroline\LogBundle\Subscriber\Administration\LogsSubscriber:
        tags:
            - { name: kernel.event_subscriber }

    # move those subscribers in their respective plugin when old log system will be removed
    Claroline\LogBundle\Subscriber\Functional\GroupLogSubscriber:
        arguments:
            - '@security.helper'
            - '@translator'
            - '@messenger.default_bus'
        tags:
            - { name: kernel.event_subscriber }

    Claroline\LogBundle\Subscriber\Functional\OrganizationLogSubscriber:
        arguments:
            - '@security.helper'
            - '@translator'
            - '@messenger.default_bus'
        tags:
            - { name: kernel.event_subscriber }

    Claroline\LogBundle\Subscriber\Security\AuthenticationLogSubscriber:
        arguments:
            - '@security.helper'
            - '@request_stack'
            - '@translator'
            - '@messenger.default_bus'
        tags:
            - { name: kernel.event_subscriber }

    Claroline\LogBundle\Subscriber\Security\RoleLogSubscriber:
        arguments:
            - '@security.helper'
            - '@request_stack'
            - '@messenger.default_bus'
        tags:
            - { name: kernel.event_subscriber }

    Claroline\LogBundle\Subscriber\Security\UserLogSubscriber:
        arguments:
            - '@security.helper'
            - '@request_stack'
            - '@translator'
            - '@messenger.default_bus'
        tags:
            - { name: kernel.event_subscriber }
