Skip to content

Commit d9c7267

Browse files
authored
Include both Stderr and Stdout when gathering container logs (#78)
1 parent e73f55e commit d9c7267

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/de/rub/nds/tls/subject/docker/DockerTlsInstance.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ public String getId() {
240240

241241
public String getLogs() throws InterruptedException {
242242
FrameHandler fh = new FrameHandler();
243-
DOCKER.logContainerCmd(getId()).exec(fh);
243+
DOCKER.logContainerCmd(getId()).withStdOut(true).withStdErr(true).exec(fh);
244244
fh.awaitCompletion();
245245
String[] lines = fh.getLines();
246246
// TODO optimize the following into the frame handler itself

0 commit comments

Comments
 (0)