Skip to content

Commit

Permalink
Fix test log file never cleared
Browse files Browse the repository at this point in the history
  • Loading branch information
matshou committed Feb 17, 2021
1 parent 517847b commit 4f27a73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/test/resources/log4j2.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<Console name="Console" target="SYSTEM_OUT">
<PatternLayout pattern="%d{[HH:mm:ss]} ${logLevelPattern} %t - %msg%n"/>
</Console>
<File name="TestLog" fileName="logs/test.log">
<File name="TestLog" fileName="logs/test.log" append="false">
<PatternLayout pattern="%d{[yyyy-MM-dd][HH:mm:ss,SSS]} [%level] %t - %msg%n"/>
</File>
</Appenders>
Expand Down

0 comments on commit 4f27a73

Please sign in to comment.