@Deprecated
  public static InternalLocator createLocator(int port, LoggingSession loggingSession, File logFile,
      InternalLogWriter logWriter,
      InternalLogWriter securityLogWriter,
      HostAddress bindAddress,
      String hostnameForClients,
      Properties distributedSystemProperties,
      boolean startDistributedSystem) {
    return createLocator(port, loggingSession, logFile, logWriter, securityLogWriter, bindAddress,
        hostnameForClients, distributedSystemProperties,
        Paths.get(System.getProperty("user.dir")));
  }
Create a locator that listens on a given port. This locator will not have peer or server
location services available until they are started by calling startServerLocation or
startPeerLocation on the locator object.

@param port the tcp/ip port to listen on
@param loggingSession the LoggingSession to use, may be a NullLoggingSession which does
       nothing
@param logFile the file that log messages should be written to
@param logWriter a log writer that should be used (logFile parameter is ignored)
@param securityLogWriter the logWriter to be used for security related log messages
@param distributedSystemProperties optional properties to configure the distributed system
       (e.g., mcast addr/port, other locators)
@param startDistributedSystem if true then this locator will also start its own ds

@deprecated Please use
            {@link #createLocator(int, LoggingSession, File, InternalLogWriter, InternalLogWriter, HostAddress, String, Properties, Path)}
            instead.
geode-core/src/main/java/org/apache/geode/distributed/internal/InternalLocator.java