Skip to content

Commit e6caada

Browse files
authored
Tweak logging around reusable mode (#4858)
1 parent ba3748e commit e6caada

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

core/src/main/java/org/testcontainers/containers/GenericContainer.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -423,6 +423,8 @@ private void tryStart(Instant startedAt) {
423423

424424
logger().info("Container {} is starting: {}", dockerImageName, containerId);
425425
dockerClient.startContainerCmd(containerId).exec();
426+
} else {
427+
logger().info("Reusing existing container ({}) and not creating a new one", containerId);
426428
}
427429

428430
// For all registered output consumers, start following as close to container startup as possible

0 commit comments

Comments
 (0)