Browse Source

update log config

tags/1.6.5
liuyuanmu 2 years ago
parent
commit
afe4ccf416
2 changed files with 4 additions and 0 deletions
  1. +2
    -0
      deploy/deploy-gateway/src/main/resources/config/log4j2-gw.xml
  2. +2
    -0
      deploy/deploy-peer/src/main/resources/config/log4j2-peer.xml

+ 2
- 0
deploy/deploy-gateway/src/main/resources/config/log4j2-gw.xml View File

@@ -29,6 +29,8 @@
<loggers>
<logger name="org.springframework" level="error"></logger>
<logger name="bftsmart" level="error"></logger>
<logger name="org.apache.http" level="error"></logger>
<logger name="org.apache.activemq" level="error"></logger>
<!--修改此处,以变更日志等级-->
<root level="info">
<appender-ref ref="Console"/>


+ 2
- 0
deploy/deploy-peer/src/main/resources/config/log4j2-peer.xml View File

@@ -31,6 +31,8 @@
<logger name="bftsmart" level="error"></logger>
<logger name="com.alipay.sofa" level="error"></logger>
<logger name="io.netty" level="error"></logger>
<logger name="org.apache.http" level="error"></logger>
<logger name="org.apache.activemq" level="error"></logger>
<!--修改此处,以变更日志等级-->
<root level="info">
<appender-ref ref="Console"/>


Loading…
Cancel
Save