Skip to content

Commit

Permalink
Not showing erros in app.log
Browse files Browse the repository at this point in the history
  • Loading branch information
marsafy1 committed May 5, 2024
1 parent 7a82886 commit 7a4b4b1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions services/payments/src/main/resources/log4j2.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@
<IfLastModified age="30d"/>
</Delete>
</DefaultRolloverStrategy>
<Filters>
<!-- Deny ERROR to avoid duplication in AppLogs -->
<ThresholdFilter level="ERROR" onMatch="DENY" onMismatch="NEUTRAL"/>
</Filters>
</RollingFile>

<RollingFile name="ErrorsLogsFileAppender" fileName="${baseDir}/errors.log"
Expand Down

0 comments on commit 7a4b4b1

Please sign in to comment.