Skip to content

Commit

Permalink
Remove unnecessary logging from ElasticsearchContainer (#6127)
Browse files Browse the repository at this point in the history
Testcontainers already log once the container started. So, displaying
additional logs can confuse.
  • Loading branch information
deejgregor committed Nov 5, 2022
1 parent de20484 commit 96af052
Showing 1 changed file with 0 additions and 1 deletion.
Expand Up @@ -96,7 +96,6 @@ public ElasticsearchContainer(final DockerImageName dockerImageName) {
dockerImageName.assertCompatibleWith(DEFAULT_IMAGE_NAME, DEFAULT_OSS_IMAGE_NAME);
this.isOss = dockerImageName.isCompatibleWith(DEFAULT_OSS_IMAGE_NAME);

logger().info("Starting an elasticsearch container using [{}]", dockerImageName);
withNetworkAliases("elasticsearch-" + Base58.randomString(6));
withEnv("discovery.type", "single-node");
// Sets default memory of elasticsearch instance to 2GB
Expand Down

0 comments on commit 96af052

Please sign in to comment.