Skip to content

Commit

Permalink
testcontainers#291 more debug
Browse files Browse the repository at this point in the history
  • Loading branch information
bsideup committed Feb 21, 2017
1 parent ed0f64d commit 60cfc50
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ InetSocketAddress start() throws IOException {
InputStream in = incomingSocket.getInputStream();
FileOutputStream out = new FileOutputStream(randomAccessFile.getFD())
) {
log.info("Redirecting input");
return ByteStreams.copy(in, out);
} catch (Exception e) {
log.warn("", e);
Expand All @@ -106,6 +107,7 @@ InetSocketAddress start() throws IOException {
FileInputStream in = new FileInputStream(randomAccessFile.getFD());
OutputStream out = incomingSocket.getOutputStream()
) {
log.info("Redirecting output");
return ByteStreams.copy(in, out);
} catch (Exception e) {
log.warn("", e);
Expand Down

0 comments on commit 60cfc50

Please sign in to comment.