@Override
    public void close() {
      // clear the reference to GFE LogWriter
      logWriter = null;
    }
Use the log writer to use some of its formatting code.
geode-dunit/src/main/java/org/apache/geode/test/dunit/log4j/LogWriterLogger.java