@Override
  public PrintWriter getLogWriter() throws SQLException {
    return dataSourcePW;
  }
Returns the writer for logging

@return PrintWriter for logs.
geode-core/src/main/java/org/apache/geode/internal/datasource/AbstractDataSource.java