public static LoggerPrintStream create(Logger logger) {
        try {
            return new LoggerPrintStream(logger);
        } catch (UnsupportedEncodingException useEx) {
            throw new RuntimeException(useEx);
        }
    }
This logger can also look out for lines being written in the log.
stroom-util/src/main/java/stroom/util/logging/LoggerPrintStream.java