Authored by qinchao

添加日志

@@ -369,6 +369,11 @@ public class MaliciousIpServiceImpl implements MaliciousIpService { @@ -369,6 +369,11 @@ public class MaliciousIpServiceImpl implements MaliciousIpService {
369 369
370 String reasonDur = ""; 370 String reasonDur = "";
371 371
  372 + if("43.242.153.113".equals(mipKey)){
  373 + logger.error("listMaliciousIpinfo awsIpInfo is {}",JSON.toJSONString(awsIpInfo));
  374 + logger.error("listMaliciousIpinfo qcloudIpInfo is {}",JSON.toJSONString(qcloudIpInfo));
  375 + }
  376 +
372 if( awsIpInfo.get(mipKey) != null){ 377 if( awsIpInfo.get(mipKey) != null){
373 Map<String,String> awsInfo = awsIpInfo.get(mipKey); 378 Map<String,String> awsInfo = awsIpInfo.get(mipKey);
374 String reason=awsInfo.get("reason"); 379 String reason=awsInfo.get("reason");
@@ -439,6 +444,10 @@ public class MaliciousIpServiceImpl implements MaliciousIpService { @@ -439,6 +444,10 @@ public class MaliciousIpServiceImpl implements MaliciousIpService {
439 mip.setHbaseTime(hbaseTime2); 444 mip.setHbaseTime(hbaseTime2);
440 } 445 }
441 446
  447 + if("43.242.153.113".equals(mipKey)){
  448 + logger.error("listMaliciousIpinfo mip is {}",JSON.toJSONString(mip));
  449 + }
  450 +
442 listMaliciousIp.add(mip); 451 listMaliciousIp.add(mip);
443 } 452 }
444 //排序 453 //排序
@@ -465,7 +474,7 @@ public class MaliciousIpServiceImpl implements MaliciousIpService { @@ -465,7 +474,7 @@ public class MaliciousIpServiceImpl implements MaliciousIpService {
465 474
466 } 475 }
467 }); 476 });
468 - logger.error("listMaliciousIpinfo is {}",listMaliciousIp); 477 + logger.error("listMaliciousIpinfo is {}",JSON.toJSONString(listMaliciousIp));
469 response.setData(listMaliciousIp); 478 response.setData(listMaliciousIp);
470 return response; 479 return response;
471 } 480 }