From d04afcb5d0a59b95f98a55502e078a7d6fcb557f Mon Sep 17 00:00:00 2001 From: shiyangwu520 Date: Wed, 9 Mar 2016 11:29:10 +0800 Subject: [PATCH] Update RedisHandler.php Should be the exec method, not the execute method --- src/Monolog/Handler/RedisHandler.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Monolog/Handler/RedisHandler.php b/src/Monolog/Handler/RedisHandler.php index d8024a84..590f9965 100644 --- a/src/Monolog/Handler/RedisHandler.php +++ b/src/Monolog/Handler/RedisHandler.php @@ -76,7 +76,7 @@ class RedisHandler extends AbstractProcessingHandler $this->redisClient->multi() ->rpush($this->redisKey, $record["formatted"]) ->ltrim($this->redisKey, -$this->capSize, -1) - ->execute(); + ->exec(); } else { $redisKey = $this->redisKey; $capSize = $this->capSize;