Commit f1589114 by Nepxion

增强日志输出

parent cab08cf7
...@@ -74,7 +74,7 @@ public class CountFilterRegisterListener extends AbstractRegisterListener { ...@@ -74,7 +74,7 @@ public class CountFilterRegisterListener extends AbstractRegisterListener {
} }
private void onRegisterFailure(int maxCount, String serviceId, String host, int port) { private void onRegisterFailure(int maxCount, String serviceId, String host, int port) {
String description = host + " isn't allowed to register to Register server, reach max limited count=" + maxCount; String description = serviceId + " for " + host + ":" + port + " isn't allowed to register to Register server, reach max limited count=" + maxCount;
pluginEventWapper.fireRegisterFailure(new RegisterFailureEvent(DiscoveryConstant.REACH_MAX_LIMITED_COUNT, description, serviceId, host, port)); pluginEventWapper.fireRegisterFailure(new RegisterFailureEvent(DiscoveryConstant.REACH_MAX_LIMITED_COUNT, description, serviceId, host, port));
......
...@@ -97,7 +97,7 @@ public class HostFilterRegisterListener extends AbstractRegisterListener { ...@@ -97,7 +97,7 @@ public class HostFilterRegisterListener extends AbstractRegisterListener {
} }
private void onRegisterFailure(FilterType filterType, List<String> allFilterValueList, String serviceId, String host, int port) { private void onRegisterFailure(FilterType filterType, List<String> allFilterValueList, String serviceId, String host, int port) {
String description = host + " isn't allowed to register to Register server, not match host " + filterType + "=" + allFilterValueList; String description = serviceId + " for " + host + ":" + port + " isn't allowed to register to Register server, not match host " + filterType + "=" + allFilterValueList;
pluginEventWapper.fireRegisterFailure(new RegisterFailureEvent(filterType.toString(), description, serviceId, host, port)); pluginEventWapper.fireRegisterFailure(new RegisterFailureEvent(filterType.toString(), description, serviceId, host, port));
......
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