public String getLog ( ) { try ( LogStream stream = dockerClient . logs ( container . id ( ) , LogsParam . stdout ( ) , LogsParam . stderr ( ) ) ; ) { String fullLog = stream . readFully ( ) ; if ( log . isTraceEnabled ( ) ) { log . trace ( "{} full log: {}" , containerShortId , StringUtils . replace ( fullLog , "\n" , "|" ) ) ; } return fullLog ; } catch ( DockerException | InterruptedException e ) { throw new IllegalStateException ( e ) ; } }
Container log .