From 3a1869bcd63fc39faad6d76f9eecf601683b4d81 Mon Sep 17 00:00:00 2001 From: nkorange Date: Wed, 5 Jun 2019 11:16:57 +0800 Subject: [PATCH] Fix #1215 --- .../java/com/alibaba/nacos/client/naming/net/NamingProxy.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/client/src/main/java/com/alibaba/nacos/client/naming/net/NamingProxy.java b/client/src/main/java/com/alibaba/nacos/client/naming/net/NamingProxy.java index 4a7716f4f..057bf949a 100644 --- a/client/src/main/java/com/alibaba/nacos/client/naming/net/NamingProxy.java +++ b/client/src/main/java/com/alibaba/nacos/client/naming/net/NamingProxy.java @@ -299,7 +299,9 @@ public class NamingProxy { public long sendBeat(BeatInfo beatInfo) { 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 params = new HashMap(4); params.put("beat", JSON.toJSONString(beatInfo)); params.put(CommonParams.NAMESPACE_ID, namespaceId);