@Override
        public synchronized void write(int b) {
            super.write(b);
            flush();
        }
This logger can also look out for lines being written in the log.
stroom-util/src/main/java/stroom/util/logging/LoggerPrintStream.java