This commit is contained in:
nkorange 2019-06-05 11:16:57 +08:00
parent 7a593ffaee
commit 3a1869bcd6

View File

@ -299,7 +299,9 @@ public class NamingProxy {
public long sendBeat(BeatInfo beatInfo) { public long sendBeat(BeatInfo beatInfo) {
try { try {
NAMING_LOGGER.info("[BEAT] {} sending beat to server: {}", namespaceId, beatInfo.toString()); if (NAMING_LOGGER.isDebugEnabled()) {
NAMING_LOGGER.debug("[BEAT] {} sending beat to server: {}", namespaceId, beatInfo.toString());
}
Map<String, String> params = new HashMap<String, String>(4); Map<String, String> params = new HashMap<String, String>(4);
params.put("beat", JSON.toJSONString(beatInfo)); params.put("beat", JSON.toJSONString(beatInfo));
params.put(CommonParams.NAMESPACE_ID, namespaceId); params.put(CommonParams.NAMESPACE_ID, namespaceId);