Authored by qinchao

去掉不用日志

... ... @@ -48,7 +48,7 @@ public class TwemproxyInfo {
HashSet<String> relationRedis = new HashSet<>();
public TwemproxyInfo(String ip, int port, String info, HashSet<String> relateRedis) {
DEBUG.info("TwemproxyInfo ip {} ,port {} ,info {},relateRedis {} ",ip,port,info,relateRedis);
this.info = info;
this.ip = ip;
... ... @@ -57,14 +57,17 @@ public class TwemproxyInfo {
JsonNode infoJson = null;
try {
infoJson = OBJECT_MAPPER.readTree(info);
if(StringUtils.isNotBlank(info)){
try {
infoJson = OBJECT_MAPPER.readTree(info);
} catch (Exception e) {
} catch (Exception e) {
DEBUG.error("Failed to read twemproxy info {}...error {}", info, e);
DEBUG.error("Failed to read twemproxy info {}...error {}", info, e);
}
}
if (null != infoJson) {
this.upTime = infoJson.get("uptime").getLongValue();
... ...