Print out the memcached host and port being used.
This commit is contained in:
Jan Bartel 2016-07-06 12:05:03 +10:00
parent 5af61cfc38
commit 0d0b1ace5c
1 changed files with 2 additions and 0 deletions

View File

@ -217,6 +217,8 @@ public class GCloudMemcachedSessionManager extends GCloudSessionManager
{
if (StringUtil.isBlank(_host) || StringUtil.isBlank(_port))
throw new IllegalStateException("Memcached host and/or port not configured");
LOG.info("Memcached host {} port {}", _host, _port);
XMemcachedClientBuilder builder = new XMemcachedClientBuilder(_host+":"+_port);
_client = builder.build();