From 47e427457930db38030e1a10e0f3d97a71473371 Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Sat, 16 Jan 2016 21:48:33 -0500 Subject: Remove __CLASS__ from debug logs --- app/Subscriber/SubtaskTimeTrackingSubscriber.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'app/Subscriber/SubtaskTimeTrackingSubscriber.php') diff --git a/app/Subscriber/SubtaskTimeTrackingSubscriber.php b/app/Subscriber/SubtaskTimeTrackingSubscriber.php index 5e4b2225..c0852bc8 100644 --- a/app/Subscriber/SubtaskTimeTrackingSubscriber.php +++ b/app/Subscriber/SubtaskTimeTrackingSubscriber.php @@ -23,7 +23,7 @@ class SubtaskTimeTrackingSubscriber extends BaseSubscriber implements EventSubsc public function updateTaskTime(SubtaskEvent $event) { if (isset($event['task_id'])) { - $this->logger->debug('Subscriber executed: '.__CLASS__.'::'.__METHOD__); + $this->logger->debug('Subscriber executed: '.__METHOD__); $this->subtaskTimeTracking->updateTaskTimeTracking($event['task_id']); } } @@ -31,7 +31,7 @@ class SubtaskTimeTrackingSubscriber extends BaseSubscriber implements EventSubsc public function logStartEnd(SubtaskEvent $event) { if (isset($event['status']) && $this->config->get('subtask_time_tracking') == 1) { - $this->logger->debug('Subscriber executed: '.__CLASS__.'::'.__METHOD__); + $this->logger->debug('Subscriber executed: '.__METHOD__); $subtask = $this->subtask->getById($event['id']); if (empty($subtask['user_id'])) { -- cgit v1.2.3