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:
-
Open the Log4j 2 properties file
config/log4j2.properties
. -
Update the value of the
logger.action.level
parameter fromdebug
towarn
.
For more information about logging in Elasticsearch, see Logging configuration.