public String getLogCommand() {
    final String sb = controller.getProductExecutable(this, "gemfire")
        + " tail-locator-log -dir="
        + getConfig().getWorkingDirectory();

    return sb.trim();
  }
Returns a string representation of the object.

@return a string representation of the object
geode-core/src/main/java/org/apache/geode/admin/internal/DistributionLocatorImpl.java