From d98a98505a64c07fd91a1bc7a3cc37fa8b8a04b1 Mon Sep 17 00:00:00 2001
From: Chris Hallberg <crhallberg@gmail.com>
Date: Tue, 6 Sep 2016 13:27:44 -0400
Subject: [PATCH] Do not double-apply verbosity in Slack logger.

---
 module/VuFind/src/VuFind/Log/Writer/Slack.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/module/VuFind/src/VuFind/Log/Writer/Slack.php b/module/VuFind/src/VuFind/Log/Writer/Slack.php
index 36f4f6b8444..26284522ac5 100644
--- a/module/VuFind/src/VuFind/Log/Writer/Slack.php
+++ b/module/VuFind/src/VuFind/Log/Writer/Slack.php
@@ -101,7 +101,7 @@ class Slack extends Post
             'channel' => $this->channel,
             'username' => $this->username,
             'text' => $this->messageIcons[$event['priority']]
-                . $this->formatter->format($this->applyVerbosity($event)) . PHP_EOL
+                . $this->formatter->format($event) . PHP_EOL
         ];
         return json_encode($data);
     }
-- 
GitLab