Browse Source

update log configurations

tags/1.4.0^2
imuge 3 years ago
parent
commit
a9f2286f11
3 changed files with 3 additions and 1 deletions
  1. +1
    -1
      core
  2. +1
    -0
      deploy/deploy-gateway/src/main/resources/config/log4j2-gw.xml
  3. +1
    -0
      deploy/deploy-peer/src/main/resources/config/log4j2-peer.xml

+ 1
- 1
core

@@ -1 +1 @@
Subproject commit f72f7252c1aa15b3f28f8d01a558c03d254b4835
Subproject commit b29d5721df1dcfbf359d01000d40f332a0866e2d

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

@@ -7,6 +7,7 @@
</console>
<RollingFile name="GWRolling" fileName="${sys:jdchain.log}/gw.log"
filePattern="${sys:jdchain.log}/$${date:yyyy-MM}/gw-%d{yyyy-MM-dd}-%i.log">
<ThresholdFilter level="info" onMatch="ACCEPT" onMismatch="DENY"/>
<PatternLayout pattern="[%date{yyyy-MM-dd HH:mm:ss:SSS}] [%thread] [%p] - %l - %m%n"/>
<Policies>
<TimeBasedTriggeringPolicy/>


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

@@ -7,6 +7,7 @@
</console>
<RollingFile name="PeerRolling" fileName="${sys:jdchain.log}/peer.log"
filePattern="${sys:jdchain.log}/$${date:yyyy-MM}/peer-%d{yyyy-MM-dd}-%i.log">
<ThresholdFilter level="info" onMatch="ACCEPT" onMismatch="DENY"/>
<PatternLayout pattern="[%date{yyyy-MM-dd HH:mm:ss:SSS}] [%thread] [%p] - %l - %m%n"/>
<Policies>
<TimeBasedTriggeringPolicy/>


Loading…
Cancel
Save