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

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

commit dc012372d39b372b2389126e156e58b6b987b7d0
Author: xiangdong huang <[email protected]>
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)
    
    (cherry picked from commit 0a796a240fa398ff366d34b0815c491108f1a515)
---
 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

Reply via email to