Refactor TestcontainersCassandraConfiguration to log all statements to System.out also.

This commit is contained in:
John Blum
2023-05-12 17:54:44 -07:00
parent 3085980bfa
commit 6223771945

View File

@@ -115,7 +115,9 @@ public class TestcontainersCassandraConfiguration extends TestCassandraConfigura
private @NonNull GenericContainer<?> logContainerConfiguration(@NonNull GenericContainer<?> cassandraContainer) {
logInfo("Is Jenkins Environment [{}]", isJenkinsEnvironment());
logToSystemOut("Is Jenkins Environment [%s]", isNotJenkinsEnvironment());
logInfo("Cassandra Testcontainer Environment Configuration:");
logToSystemOut("Cassandra Testcontainer Environment Configuration:");
cassandraContainer.getEnvMap().forEach((key, value) -> {
logInfo("{} = [{}]", key, value);