@Override public Void call() throws IOException, InterruptedException, ParseException {
LineReader lineReader = new LineReader(reader);
boolean threw = true;
try {
String line;
while ((line = lineReader.readLine()) != null) {
LogMessage logMessage = logMessageParser.parse(line);
if (options.verbose() && !(logMessage instanceof CaliperControlLogMessage)) {
stdout.printf("[trial-%d] %s%n", trialNumber, line);
}
outputQueue.put(new StreamItem(logMessage));