private String logEventContaining(final String logMessage) {
    return "LogEvent containing " + logMessage;
  }
Integration tests for {@link Cache} with custom {@code log4j2.xml}.
geode-log4j/src/integrationTest/java/org/apache/geode/logging/log4j/internal/impl/CacheWithCustomLogConfigIntegrationTest.java