Suppress generic logging on docker start for ElasticSearch container
Testcontainers library is issuing log statements with dynamic logger:
protected Logger logger() {
return DockerLoggerFactory.getLogger(this.getDockerImageName());
}
The logger name depends on docker image name and version number. To
disable the logging output, override the protected logger() method and
return static logger name "org.testcontainers".
[1] https://github.com/testcontainers/testcontainers-java/issues/2368
Bug: Issue 12388
Change-Id: I43e6cf797cc177f6d52e29f5851fc0b3ce9b53c9
1 file changed