Redis max log size #36
@ -61,7 +61,7 @@ class ArrayBuilder
|
|||||||
$params = [
|
$params = [
|
||||||
$this->container->get(Predis\ClientInterface::class),
|
$this->container->get(Predis\ClientInterface::class),
|
||||||
"logs:{$handlerData['name']}",
|
"logs:{$handlerData['name']}",
|
||||||
'capSize' => 100
|
'capSize' => $handlerData['capSize'] ?? 100
|
||||||
];
|
];
|
||||||
} catch (NotFoundExceptionInterface | ContainerExceptionInterface $exception) {
|
} catch (NotFoundExceptionInterface | ContainerExceptionInterface $exception) {
|
||||||
$this->log($exception, ['handlerData' => $handlerData]);
|
$this->log($exception, ['handlerData' => $handlerData]);
|
||||||
|
Reference in New Issue
Block a user