public static LogWriter getLogWriter() {
    if (dslogWriter != null) {
      return dslogWriter;
    } else if (purelogWriter != null) {
      return purelogWriter;
    } else {
      purelogWriter = new PureLogWriter(SEVERE.intLevel());
      return purelogWriter;
    }
  }
Returns the logWriter associated with the existing DistributedSystem. If DS is null then the
PureLogWriter is returned
geode-core/src/main/java/org/apache/geode/internal/jta/TransactionUtils.java