protected void redirectOutput(final DistributedSystem distributedSystem) throws IOException {
    if (distributedSystem instanceof InternalDistributedSystem) {
      OSProcess
          .redirectOutput(((InternalDistributedSystem) distributedSystem).getConfig().getLogFile());
    }
  }
Redirects the standard out and standard err to the configured log file as specified in the
GemFire distributed system properties.

@param distributedSystem the GemFire model for a distributed system.
@throws IOException if the standard out and err redirection was unsuccessful.
geode-core/src/main/java/org/apache/geode/distributed/AbstractLauncher.java