@Override
  public void setStatisticSampleRate(int value) {
    if (value < DEFAULT_STATISTIC_SAMPLE_RATE) {
      // fix 48228
      InternalDistributedSystem ids = InternalDistributedSystem.getConnectedInstance();
      if (ids != null) {
        ids.getLogWriter()
            .info("Setting statistic-sample-rate to " + DEFAULT_STATISTIC_SAMPLE_RATE
                + " instead of the requested " + value
                + " because VSD does not work with sub-second sampling.");
      }
      value = DEFAULT_STATISTIC_SAMPLE_RATE;
    }
    statisticSampleRate = value;
  }
the locator startup code must be able to modify the locator log file in order to establish a
default log file if one hasn't been specified by the user. This method will change the log
file, but only in the configuration settings - it won't affect a running distributed system's
log file
geode-core/src/main/java/org/apache/geode/distributed/internal/DistributionConfigImpl.java