Jeroen-G/Explorer

Add Elasticsearch logging support

thomashery opened this issue · 1 comments

The Elastic connector support logging but this plugin does not utilize its capabilities.

Suggest:

  • Adding a new config flag explorer.logging = true/false
  • In JeroenG\Explorer\Infrastructure\Elastic\ElasticClientBuilder add $builder->setLogger($logger); if config flag enabled

This will make debugging of Elastic search issues a lot easier (concrete example, suddenly failing for us with AWS OpenSearch on staging at Explorer level).

Can do a PR if you are happy with that.

If you can PR this that would be amazing!