This is an automated email from the ASF dual-hosted git repository. haonan pushed a commit to branch change_syslog_level12 in repository https://gitbox.apache.org/repos/asf/iotdb.git
commit 5eb2ac122b18f5607fd5bf17b30c82ca86d12583 Author: HTHou <[email protected]> AuthorDate: Thu Nov 5 10:27:49 2020 +0800 change a log level --- server/src/main/java/org/apache/iotdb/db/rescon/SystemInfo.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/server/src/main/java/org/apache/iotdb/db/rescon/SystemInfo.java b/server/src/main/java/org/apache/iotdb/db/rescon/SystemInfo.java index 82d2903..ab3e25a 100644 --- a/server/src/main/java/org/apache/iotdb/db/rescon/SystemInfo.java +++ b/server/src/main/java/org/apache/iotdb/db/rescon/SystemInfo.java @@ -87,7 +87,9 @@ public class SystemInfo { forceFlush(); } if (totalSgMemCost < config.getAllocateMemoryForWrite() * REJECT_PROPORTION) { - logger.debug("Some sg memory released, set system to normal status."); + if (rejected) { + logger.info("Some sg memory released, set system to normal status."); + } logCurrentTotalSGMemory(); rejected = false; } else {
