void log(LogRecord record) {
        synchronized (monitor) {
            if (record.getThrown() != null) trimStackTraces(record.getThrown());
            if ( ! (current.children.peekLast() instanceof OutputNode))
                current.children.add(new OutputNode(current));

            ((OutputNode) current.children.peekLast()).log.add(record);
        }
    }
Verify the path from the root to the current node corresponds to the given id.
vespa-osgi-testrunner/src/main/java/com/yahoo/vespa/testrunner/TestReport.java