Logs being spammed with client debug messages

Created on 15 November 2024, about 1 month ago

Problem/Motivation

On my site my logs are being spammed with debug level messages from the opensearch client. 4 messages are created every time /src/Plugin/OpenSearch/Connector/StandardConnector.php is run. There is no content. What you see is the entire message logged.

If I comment out the following line in /src/Plugin/OpenSearch/Connector/StandardConnector.php the log spam stops.

  /**
   * {@inheritdoc}
   */
  public function getClient(): Client {
    // We only support one host.
    return ClientBuilder::create()
      ->setHosts([$this->configuration['url']])
      //->setLogger($this->logger)
      ->build();
  }

I am uncertain where these messages are coming from. Is this an open search server config issue? Something from the upstream module?

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Active

Version

2.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States rhovland Oregon

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024