You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by ha...@apache.org on 2020/11/05 02:20:09 UTC

[iotdb] branch change_syslog_level created (now 77cb80e)

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

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


      at 77cb80e  change a log level

This branch includes the following new commits:

     new 77cb80e  change a log level

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[iotdb] 01/01: change a log level

Posted by ha...@apache.org.
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 <hh...@outlook.com>
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 {