From d18eb57ee92b77f82a0f0ad45be7eaaa7c4dec8b Mon Sep 17 00:00:00 2001 From: Jordi Boggiano Date: Tue, 12 Apr 2016 18:43:49 +0100 Subject: [PATCH] Make sure levels are converted properly --- src/Monolog/Handler/DeduplicationHandler.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Monolog/Handler/DeduplicationHandler.php b/src/Monolog/Handler/DeduplicationHandler.php index 7881cc4e..96b29e15 100644 --- a/src/Monolog/Handler/DeduplicationHandler.php +++ b/src/Monolog/Handler/DeduplicationHandler.php @@ -67,7 +67,7 @@ class DeduplicationHandler extends BufferHandler parent::__construct($handler, 0, Logger::DEBUG, $bubble, false); $this->deduplicationStore = $deduplicationStore === null ? sys_get_temp_dir() . '/monolog-dedup-' . substr(md5(__FILE__), 0, 20) .'.log' : $deduplicationStore; - $this->deduplicationLevel = $deduplicationLevel; + $this->deduplicationLevel = Logger::toMonologLevel($deduplicationLevel); $this->time = $time; }