Skip to content

Commit

Permalink
EA-3503 suppress mapper warmnings
Browse files Browse the repository at this point in the history
  • Loading branch information
SrishtiSingh-eu committed Feb 28, 2024
1 parent e416a67 commit 1f4a2c6
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions api/src/main/resources/log4j2.xml
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,10 @@
<!--Suppress unhelpful Spring Batch warnings:
See https://stackoverflow.com/questions/23780587/spring-batch-reader-in-multi-threader-job -->
<Logger name="org.springframework.batch.core.step" level="ERROR"/>

<!--Suppress Morphia warning for multiple collections being mapped - "Found more than one class mapped to collection"
There is nothing much we can do about this now. this gets logged in the latest version of morphia as well.
Code - dev.morphia.mapping.Mapper#getClassFromCollection() L#130 -->
<Logger name="dev.morphia.mapping.Mapper" level="ERROR"/>
</Loggers>
</Configuration>

0 comments on commit 1f4a2c6

Please sign in to comment.