Authored by jack

增加日志

... ... @@ -99,7 +99,7 @@ public class RedisTask extends Task {
DEBUG.error("Failed to write-read redis {} ,error {}",this.getUrl(),e);
e.printStackTrace();
this.getAlarmMsgService().sendSms("Redis", "Failed to write-read redis:" + this.getUrl() + "," + "role:" + redisInfo.getRole() + ".", this.getSnsMobileConfig().getBaseMobile());
redisInfo.setStatus("NO-OK");
... ...
... ... @@ -118,8 +118,11 @@ public class TwemproxyTask extends Task {
//存储
Constants.TWEMPROXY_INFO_MAP.put(this.getUrl(), twemproxyInfo);
DEBUG.info("Twemproxy {} has redis task {}", this.getUrl(), twemproxyInfo.getRequestMap());
//根据redis的信息 分发 redis监控任务
dispatchRedisTask(twemproxyInfo);
}
... ...