@Test
  public void startWithCustomLoggingConfiguration() {
    startLocator(new LocatorCommand(this)
        .addJvmArgument("-D" + CONFIGURATION_FILE_PROPERTY + "=" + getCustomLoggingConfigFilePath())
        .withCommand(Command.START),
        new ToSystemOut(),
        new ToSystemOut());

    assertThat(systemOutRule.getLog())
        .contains(CONFIG_LAYOUT_PREFIX)
        .contains(CONFIGURATION_FILE_PROPERTY + " = " + getCustomLoggingConfigFilePath());
  }
Integration tests for using {@code LocatorLauncher} as an application main in a forked JVM with
custom logging configuration.
geode-core/src/integrationTest/java/org/apache/geode/distributed/LocatorLauncherRemoteWithCustomLoggingIntegrationTest.java