How can I configure the logging of an ESIntegeTestCase?
Bridging not works via slf4j.
I tried to set a custom ESLoggerFactory with a custom noop ESLogger, no luck.
Loggers.disableConsoleLogging() had no effect.
Is there any way to change the log level of it or turning it off?
Yes. You can use the TestLogging annotation. Alternatively, you can just set the appropriate system property (e.g., "-Des.logger.level=(DEBUG|ERROR|INFO|WARN|TRACE)" for the root logger).
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.