master
wangyuan 2019-09-05 10:34:44 +08:00
parent cbbfa933f2
commit c821620971
1 changed files with 1 additions and 1 deletions

View File

@ -85,7 +85,7 @@ public class MyStringRedisTemplate {
connectionFactory.afterPropertiesSet();
//实例化
redisObjectTemplate = new StringRedisTemplate(connectionFactory);
LOGGER.info("initUserCacheDb==>host={},port={} db={} isSentine=>{} redis success !!!", redisProperties.getHost(), redisProperties.getPort(), redisProperties.getDatabase(),connectionFactory.isRedisSentinelAware());
LOGGER.info("initUserCacheDb==>host={},port={} db={},the reallydb={} isSentine=>{} redis success !!!", redisProperties.getHost(), redisProperties.getPort(), redisProperties.getDatabase(),connectionFactory.getDatabase(),connectionFactory.isRedisSentinelAware());
}
public StringRedisTemplate getRedisObjectTemplate() {