You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by hx...@apache.org on 2019/12/31 11:56:43 UTC

[incubator-iotdb] branch fix_gc_collect_in_startup_script updated: set all gc log as info level (though some startup memory allocation log is debug and trace still)

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

hxd pushed a commit to branch fix_gc_collect_in_startup_script
in repository https://gitbox.apache.org/repos/asf/incubator-iotdb.git


The following commit(s) were added to refs/heads/fix_gc_collect_in_startup_script by this push:
     new 4008a48  set all gc log as info level (though some startup memory allocation log is debug and trace still)
4008a48 is described below

commit 4008a4844993ce9108d4358c02d4a4ec08d7f66d
Author: xiangdong huang <sa...@gmail.com>
AuthorDate: Tue Dec 31 19:55:11 2019 +0800

    set all gc log as info level (though some startup memory allocation log is debug and trace still)
---
 server/src/assembly/resources/conf/iotdb-env.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/server/src/assembly/resources/conf/iotdb-env.sh b/server/src/assembly/resources/conf/iotdb-env.sh
index 0e06de1..583e93b 100755
--- a/server/src/assembly/resources/conf/iotdb-env.sh
+++ b/server/src/assembly/resources/conf/iotdb-env.sh
@@ -150,7 +150,7 @@ else
         # only add -Xlog:gc if it's not mentioned in jvm-server.options file
         mkdir -p ${IOTDB_HOME}/logs
         if [ "$#" -ge "1" -a "$1" == "printgc" ]; then
-            IOTDB_JMX_OPTS="$IOTDB_JMX_OPTS -Xlog:gc=info,heap*=trace,age*=debug,safepoint=info,promotion*=trace:file=${IOTDB_HOME}/logs/gc.log:time,uptime,pid,tid,level:filecount=10,filesize=10485760"
+            IOTDB_JMX_OPTS="$IOTDB_JMX_OPTS -Xlog:gc=info,heap*=info,age*=info,safepoint=info,promotion*=info:file=${IOTDB_HOME}/logs/gc.log:time,uptime,pid,tid,level:filecount=10,filesize=10485760"
         fi
     fi
 fi