public PrintWriter setTarget(final File logFile) {
    return setTarget(createFileOutputStream(logFile), 0L);
  }
Sets the target that this logger will sends its output to.

@return the previous target.
geode-core/src/main/java/org/apache/geode/internal/logging/PureLogWriter.java