Skip to content

Commit 59d1756

Browse files
gaozhangmingavingaozhangmin
authored andcommitted
Update pulsar_env.sh
1 parent 89f5ab6 commit 59d1756

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

conf/pulsar_env.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ if [[ -n $IS_JAVA_8 ]]; then
6060
PULSAR_GC_LOG=${PULSAR_GC_LOG:-"-Xloggc:$PULSAR_GC_LOG_DIR/pulsar_gc_%p.log -XX:+PrintGCDetails -XX:+PrintGCDateStamps -XX:+UseGCLogFileRotation -XX:NumberOfGCLogFiles=10 -XX:GCLogFileSize=20M"}
6161
else
6262
# After jdk 9, gc log param should config like this. Ignoring version less than jdk 8
63-
PULSAR_GC_LOG=${PULSAR_GC_LOG:-"-Xlog:gc*:$PULSAR_GC_LOG_DIR/pulsar_gc_%p.log:time,uptime:filecount=10,filesize=20M"}
63+
PULSAR_GC_LOG=${PULSAR_GC_LOG:-"-Xlog:gc*:$PULSAR_GC_LOG_DIR/pulsar_gc_%p.log:time,uptime:filecount=10,filesize=20M"}
6464
fi
6565

6666
# Extra options to be passed to the jvm

0 commit comments

Comments
 (0)