Add logging support.

This commit is contained in:
John Blum
2018-05-27 01:36:48 -07:00
parent c9525f135f
commit da4025af02

View File

@@ -22,6 +22,8 @@ import java.util.Collections;
import org.apache.geode.cache.client.ClientCache;
import org.apache.geode.cache.client.Pool;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
@@ -46,6 +48,12 @@ import org.springframework.data.gemfire.support.ConnectionEndpoint;
@SuppressWarnings("unused")
public class ClientServerIntegrationTestsConfiguration {
private final Logger logger = LoggerFactory.getLogger(getClass());
protected Logger getLogger() {
return this.logger;
}
@Bean
ClientCacheConfigurer clientCachePoolPortConfigurer(
@Value("${" + GEMFIRE_CACHE_SERVER_PORT_PROPERTY + ":40404}") int port) {