@Before
  public void setUp() {
    String name = testName.getMethodName();
    mainLogFile = new File(temporaryFolder.getRoot(), name + "-main.log");

    Properties config = new Properties();
    config.setProperty(LOCATORS, "");
    config.setProperty(LOG_FILE, mainLogFile.getAbsolutePath());
    config.setProperty(NAME, getClass().getSimpleName() + "_" + testName.getMethodName());

    system = (InternalDistributedSystem) DistributedSystem.connect(config);

    banner = new Banner().getString();

    DistributionConfig distributionConfig = system.getConfig();
    startupConfiguration = StringUtils
        .split(STARTUP_CONFIGURATION + lineSeparator() + distributionConfig.toLoggerString(),
            lineSeparator());

    geodeLogger = LogService.getLogger();
    logMessage = "Logging in " + testName.getMethodName();
  }
Integration tests for logging of the startup configuration. Startup configuration consists of
{@link Configuration#STARTUP_CONFIGURATION} and {@link DistributionConfig#toLoggerString()}.
geode-core/src/integrationTest/java/org/apache/geode/logging/internal/StartupConfigurationLoggingIntegrationTest.java