@Override
    public String getLogFilePath() {
      return new File(parentDir, getFileNamePrefix() + "-gfsh.log").getAbsolutePath();
    }
HeadlessGfshConfig for tests. Taken from TestableGfsh
geode-dunit/src/main/java/org/apache/geode/management/internal/cli/HeadlessGfsh.java