File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change 82
82
<configuration >
83
83
<systemPropertyVariables >
84
84
<test .mime>json</test .mime>
85
- <logging .folder.path>${java.io.tmpdir} / ${maven.build.timestamp} /logfile.json</logging .folder.path>
85
+ <logging .folder.path>target /logfile.json</logging .folder.path>
86
86
</systemPropertyVariables >
87
87
</configuration >
88
88
</plugin >
Original file line number Diff line number Diff line change 21
21
<Column name =" message" pattern =" %message" />
22
22
<Column name =" throwable" pattern =" %ex{full}" />
23
23
</JDBC >
24
+ <File name =" JSONLogfileAppender" fileName =" target/logfile.json" >
25
+ <JSONLayout compact =" true" eventEol =" true" />
26
+ <BurstFilter level =" INFO" rate =" 2" maxBurst =" 10" />
27
+ </File >
28
+ <Async name =" AsyncAppender" bufferSize =" 80" >
29
+ <AppenderRef ref =" JSONLogfileAppender" />
30
+ </Async >
24
31
</Appenders >
25
32
<RollingFile name =" XMLRollingfileAppender" fileName =" target/logfile.xml"
26
33
filePattern =" target/logfile-%d{yyyy-MM-dd}-%i.log.gz" >
You can’t perform that action at this time.
0 commit comments