Authored by qinchao

添加日志

... ... @@ -369,6 +369,11 @@ public class MaliciousIpServiceImpl implements MaliciousIpService {
String reasonDur = "";
if("43.242.153.113".equals(mipKey)){
logger.error("listMaliciousIpinfo awsIpInfo is {}",JSON.toJSONString(awsIpInfo));
logger.error("listMaliciousIpinfo qcloudIpInfo is {}",JSON.toJSONString(qcloudIpInfo));
}
if( awsIpInfo.get(mipKey) != null){
Map<String,String> awsInfo = awsIpInfo.get(mipKey);
String reason=awsInfo.get("reason");
... ... @@ -439,6 +444,10 @@ public class MaliciousIpServiceImpl implements MaliciousIpService {
mip.setHbaseTime(hbaseTime2);
}
if("43.242.153.113".equals(mipKey)){
logger.error("listMaliciousIpinfo mip is {}",JSON.toJSONString(mip));
}
listMaliciousIp.add(mip);
}
//排序
... ... @@ -465,7 +474,7 @@ public class MaliciousIpServiceImpl implements MaliciousIpService {
}
});
logger.error("listMaliciousIpinfo is {}",listMaliciousIp);
logger.error("listMaliciousIpinfo is {}",JSON.toJSONString(listMaliciousIp));
response.setData(listMaliciousIp);
return response;
}
... ...