Skip to content

Commit 3613821

Browse files
authored
[ISSUE #6365] fix no log in benchmark (#6366)
* fix no log in benchmark * remove logging debug
1 parent 7dbcdc8 commit 3613821

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

client/src/main/resources/rmq.client.logback.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
limitations under the License.
1515
-->
1616

17-
<configuration debug="true">
17+
<configuration>
1818
<conversionRule conversionWord="pid" converterClass="io.github.aliyunmq.logback.extensions.ProcessIdConverter"/>
1919
<appender name="CustomConsoleAppender" class="io.github.aliyunmq.logback.extensions.CustomConsoleAppender">
2020
<encoder>
@@ -52,4 +52,4 @@
5252
</root>
5353
<!-- ref: https://github.com/grpc/grpc-java/issues/3033 -->
5454
<!-- <logger name="io.grpc" level="warn"/> -->
55-
</configuration>
55+
</configuration>

distribution/benchmark/runclass.sh

+1
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ JAVA_OPT="${JAVA_OPT} -XX:+PerfDisableSharedMem"
6161
#JAVA_OPT="${JAVA_OPT} -Xdebug -Xrunjdwp:transport=dt_socket,address=9555,server=y,suspend=n"
6262
JAVA_OPT="${JAVA_OPT} -cp ${CLASSPATH}"
6363
JAVA_OPT="${JAVA_OPT} -Djava.ext.dirs=${JAVA_HOME}/jre/lib/ext:${BASE_DIR}/lib:${JAVA_HOME}/lib/ext"
64+
JAVA_OPT="${JAVA_OPT} -Drmq.logback.configurationFile=${BASE_DIR}/conf/rmq.client.logback.xml"
6465

6566
if [ -z "$JAVA_HOME" ]; then
6667
JAVA_HOME=/usr/java

0 commit comments

Comments
 (0)