Commit efe98602 authored by 技术部-任文超's avatar 技术部-任文超

规范log

parent 300991d5
...@@ -54,7 +54,7 @@ public class IpValidateAdvisor { ...@@ -54,7 +54,7 @@ public class IpValidateAdvisor {
return pjp.proceed(); return pjp.proceed();
} }
IPUtil.logIp(LOGGER, request); IPUtil.logIp(LOGGER, request);
LOGGER.error("白名单不匹配拦截:ip={}", clientIp); LOGGER.error("Lock_ipv4: don't match white ip access:{}", clientIp);
return JsonResult.buildErrorStateResult("非法访问", null); return JsonResult.buildErrorStateResult("非法访问", null);
} }
} }
...@@ -32,7 +32,7 @@ public class IPWhiteListInterceptor implements HandlerInterceptor { ...@@ -32,7 +32,7 @@ public class IPWhiteListInterceptor implements HandlerInterceptor {
if(IPUtil.whiteOf(remoteIP)) { if(IPUtil.whiteOf(remoteIP)) {
return true; return true;
} }
LOGGER.info("白名单不匹配拦截:ip={}",remoteIP); LOGGER.info("Lock_ipv4: don't match white ip access:{}",remoteIP);
return false; return false;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment