1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-08-05 12:47:39 +02:00

Update RedisHandler.php

Should be the exec method, not the execute method
This commit is contained in:
shiyangwu520
2016-03-09 11:29:10 +08:00
committed by Jordi Boggiano
parent 5085630fd6
commit d04afcb5d0

View File

@@ -76,7 +76,7 @@ class RedisHandler extends AbstractProcessingHandler
$this->redisClient->multi() $this->redisClient->multi()
->rpush($this->redisKey, $record["formatted"]) ->rpush($this->redisKey, $record["formatted"])
->ltrim($this->redisKey, -$this->capSize, -1) ->ltrim($this->redisKey, -$this->capSize, -1)
->execute(); ->exec();
} else { } else {
$redisKey = $this->redisKey; $redisKey = $this->redisKey;
$capSize = $this->capSize; $capSize = $this->capSize;