Closed JayDi85 closed 2 years ago
Workaround: increase logging level of LogBackendType
classes by ormliteLocalLog.properties
file in app's resources (example):
LogBackendType.*=ERROR
For the record @JayDi85, I merged in the latest code from SimpleLogging which had already fixed this issue.
Regression bug from #202: https://github.com/j256/ormlite-core/blob/02cc64cb6f9a251222b17c4c3b33f33f7b2f8940/src/main/java/com/j256/ormlite/logger/LogBackendType.java#L106
Ormlite tries to find first available logger system and print WARNING message to the logs on each fail. That's wrong (it's a standard use case). You must print warning message at the end of the cycle (if nothing found, not on each try) or change it to INFO level.
Example: ormlite successfully finds log4j, but print warning messages for another tries on app startup: