This is an automated email from the ASF dual-hosted git repository.

haonan pushed a commit to branch change_syslog_level
in repository https://gitbox.apache.org/repos/asf/iotdb.git

commit 77cb80ee1e999b806d1258763dabdf81c050c4c3
Author: HTHou <[email protected]>
AuthorDate: Thu Nov 5 10:19:22 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 {

Reply via email to