You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If the environment variable ELASTIC_LOGGER is set, and/or the configuration directive es.logger points to a log channel as configured in config/logging.php, it is ignored and an instance of the default logger is passed to the Elasticsearch client factory instead.
This is caused by the provider properly checking for the logger, but injecting the PSR LoggerInterface instead of the configured logger instance:
If the environment variable
ELASTIC_LOGGER
is set, and/or the configuration directivees.logger
points to a log channel as configured inconfig/logging.php
, it is ignored and an instance of the default logger is passed to the Elasticsearch client factory instead.This is caused by the provider properly checking for the logger, but injecting the PSR
LoggerInterface
instead of the configured logger instance:Instead, we should inject the logger by its identifier:
The text was updated successfully, but these errors were encountered: