1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-08-07 21:56:31 +02:00

Merge branch '1.x'

This commit is contained in:
Jordi Boggiano
2016-03-09 11:29:24 +00:00

View File

@@ -77,7 +77,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;