We are doing a very difficult performance tuning in our application, so we are starting to use the method trace to find bottlenecks.
At first glance, Ormlite was fine, but we found that, for example, in one request, which takes 8 ms, 6ms (75%) is required for the internal Ormlite log. Moreover, these log calls are at the DEBUG level.
Currently, I have tried (without success) to set the log level to ERROR as follows:
- with adb:
adb shell setprop log.tag.ORMLite ERROR - with the record:
<logger name="com.j256.ormlite" level="ERROR"/>
These are a few lines from logcat
I/System.out( 4207): 2014-10-01 10:50:14,702 [DEBUG] BaseMappedStatement query-for-id using ... I/System.out( 4207): 2014-10-01 10:50:14,706 [DEBUG] StatementExecutor executing raw query for ... I/System.out( 4207): 2014-10-01 10:50:14,709 [DEBUG] SelectIterator starting iterator @-1593957304 for ... I/System.out( 4207): 2014-10-01 10:50:14,711 [DEBUG] SelectIterator closed iterator @-1593957304 after 1 rows I/System.out( 4207): 2014-10-01 10:50:14,714 [DEBUG] BaseMappedStatement query-for-id using ... I/System.out( 4207): 2014-10-01 10:50:14,717 [DEBUG] BaseMappedStatement query-for-id using ... I/System.out( 4207): 2014-10-01 10:50:14,718 [DEBUG] StatementBuilder built statement ... I/System.out( 4207): 2014-10-01 10:50:14,719 [DEBUG] BaseMappedStatement prepared statement ...
Here is a screenshot of the method trace

Any thoughts on how to handle this?
source share