-
Notifications
You must be signed in to change notification settings - Fork 790
Open
Description
ElasticaLogger leaks memory.
It has a reset() method:
public function reset(): void
{
$this->queries = [];
}But it produces no result, since it's never tagged with kernel.reset tag:
<service id="fos_elastica.logger" class="FOS\ElasticaBundle\Logger\ElasticaLogger">
<argument type="service" id="logger" on-invalid="null" />
<argument>%kernel.debug%</argument>
<tag name="monolog.logger" channel="elastica" />
</service>Service has no tag. See bin/console debug:container fos_elastica.logger:
Information for Service "fos_elastica.logger"
=============================================
Logger for the Elastica.
---------------- ------------------------------------------
Option Value
---------------- ------------------------------------------
Service ID fos_elastica.logger
Class FOS\ElasticaBundle\Logger\ElasticaLogger
Tags monolog.logger (channel: elastica)
Public no
Consider tagging it with this tag.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels