Whenever I create a table with ORMLITE TableUtils, I get the following logs printed to the console:
[main] INFO com.j256.ormlite.table.TableUtils - creating table 'users'
I have tried to modified my log4j2.xml
file to include the following:
<Logger name="com.j256.ormlite.table.TableUtils" level="info" additivity="true">
<AppenderRef ref="MyAppender"/>
</Logger>
(Also tried to config the name attribute to com.j256.ormlite.logger.Logger
and com.j256.ormlite.logger.LocalLogger
)
But the logs keep printing to the console.
Any idea? Thanks!