From a74fcfb0322fb47ab695348c759578c0e0b6f458 Mon Sep 17 00:00:00 2001 From: Paul Radt Date: Tue, 16 Aug 2016 13:07:05 +0200 Subject: [PATCH] Add logging tags --- Resources/config/services.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Resources/config/services.yml b/Resources/config/services.yml index 41a0c79..4e9e670 100644 --- a/Resources/config/services.yml +++ b/Resources/config/services.yml @@ -36,11 +36,13 @@ services: arguments: ["@doctrine.orm.entity_manager", "@live.broadcast.scheduler.commands", "@live.broadcast.youtubeapi.service", "@kernel", "@live.broadcast.googleredirect.service", "@logger"] tags: - { name: kernel.event_subscriber } + - { name: monolog.logger, channel: livebroadcaster } live.broadcast.youtube_switch_monitor_listener: class: Martin1982\LiveBroadcastBundle\EventListener\YouTubeSwitchMonitorListener arguments: ["@live.broadcast.scheduler.commands", "@live.broadcast.streamoutput.service", "@live.broadcast.streaminput.service", "@live.broadcast.youtubeapi.service", "@live.broadcast.googleredirect.service", "@logger"] tags: - { name: kernel.event_subscriber } + - { name: monolog.logger, channel: livebroadcaster } live.broadcast.streaminput.service: class: Martin1982\LiveBroadcastBundle\Service\StreamInputService @@ -84,6 +86,7 @@ services: live.broadcast.youtubeapi.service: class: Martin1982\LiveBroadcastBundle\Service\YouTubeApiService arguments: ["%yt_client_id%", "%yt_client_secret%", "@doctrine.orm.entity_manager", "@logger"] + tags: [{ name: monolog.logger, channel: livebroadcaster }] live.broadcast.googleredirect.service: class: Martin1982\LiveBroadcastBundle\Service\GoogleRedirectService arguments: ["@router", "%live_broadcast_yt_redirect_route%"]