Configuring logging

The default Elasticsearch log configuration can cause an excessive number of log messages when a search request is cancelled.

To reduce the number of messages that are logged, complete the following steps:

  1. Open the Log4j 2 properties file config/log4j2.properties.

  2. Update the value of the logger.action.level parameter from debug to warn.

  3. Save and close the file.

For more information about logging in Elasticsearch, see Logging configuration.