LOGGER.info("Lock_ipv4: locked ip Success. ip:{}, error overstep {} times in {} minutes, do lock {} minutes",ip,counts,Constants.IPV4_FAILED_COUNT_MINUTES,minutes);
log.info("Lock_ipv4: locked ip Success. ip:{}, error overstep {} times in {} minutes, do lock {} minutes",ip,counts,Constants.IPV4_FAILED_COUNT_MINUTES,minutes);
}else{
redisTemplate.delete(lockIpv4Key);
LOGGER.info("Lock_ipv4: unlocked ip Success. ip:{}",ip);
log.info("Lock_ipv4: unlocked ip Success. ip:{}",ip);
}
}
...
...
@@ -137,7 +138,7 @@ public class LockIpv4Controller implements IBaseController {
LOGGER.info("Lock_ipv4: locked error ip access:{}, error overstep {} times in {} minutes, do lock {} minutes",ip,counts,Constants.IPV4_FAILED_COUNT_MINUTES,minutes);
log.info("Lock_ipv4: locked error ip access:{}, error overstep {} times in {} minutes, do lock {} minutes",ip,counts,Constants.IPV4_FAILED_COUNT_MINUTES,minutes);
}
/**
...
...
@@ -98,14 +99,14 @@ public class LockIpv4ServiceImpl implements ILockIpv4Service {
LOGGER.info("Lock_ipv4: locked success ip access:{}, success overstep {} times in {} minutes, do lock {} minutes",ip,Constants.IPV4_LOCK_ON_SUCCESS_COUNTS,Constants.IPV4_SUCCESS_COUNT_MINUTES,Constants.IPV4_SUCCESS_LOCK_MINUTES);
log.info("Lock_ipv4: locked success ip access:{}, success overstep {} times in {} minutes, do lock {} minutes",ip,Constants.IPV4_LOCK_ON_SUCCESS_COUNTS,Constants.IPV4_SUCCESS_COUNT_MINUTES,Constants.IPV4_SUCCESS_LOCK_MINUTES);
// If the output is to be "chunked" into 76 character sections,
// for compliance with RFC 2045 MIME, then it is important to
// allow for extra length to account for the separator(s)
// If the output is to be "chunked" into 76 character sections, for compliance with RFC 2045 MIME, then it is important to allow for extra length to account for the separator(s)