master
wangyuan 2019-09-05 10:23:04 +08:00
parent 14a2a9fc0c
commit 6f40d90a42
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={} isSentine=>{} redis success !!!", redisProperties.getHost(), redisProperties.getPort(), connectionFactory.isRedisSentinelAware());
LOGGER.info("initUserCacheDb==>host={},port={} db={} isSentine=>{} redis success !!!", redisProperties.getHost(), redisProperties.getPort(), redisProperties.getDatabase(),connectionFactory.isRedisSentinelAware());
}
public StringRedisTemplate getRedisObjectTemplate() {