As per the below Code, I am getting every single details of the program as debug, which I want to get rid of. If is taking too much time when running the Application.
How can I get those [DEBUG] disabled?
2012-01-24 18:47:25,305 [ERROR] SqliteDatabaseType WARNING: you seem to not be using the Xerial SQLite driver. See ORMLite docs on SQLite: http://ormlite.com/docs/sqlite
2012-01-24 18:47:25,379 [DEBUG] DaoManager created dao for class class .......
2012-01-24 18:47:25,385 [DEBUG] DaoManager created dao for class class .......
2012-01-24 18:47:25,397 [DEBUG] DaoManager created dao for class class .......
2012-01-24 18:47:25,398 [DEBUG] DaoManager created dao for class class .......
2012-01-24 18:47:25,401 [DEBUG] DaoManager created dao for class class .......
2012-01-24 18:47:25,401 [DEBUG] DaoManager created dao for class class .......
2012-01-24 18:47:25,402 [DEBUG] DaoManager created dao for class class .......
2012-01-24 18:47:25,403 [DEBUG] DaoManager created dao for class class .......
2012-01-24 18:47:25,404 [DEBUG] DaoManager created dao for class class .......
2012-01-24 18:47:25,404 [DEBUG] DaoManager created dao for class class .......
2012-01-24 18:47:25,635 [DEBUG] StatementBuilder built statement SELECT.......
ORMLite spits out a number of log messages for debugging purposes if the log level has been set for DEBUG or TRACE. If you are using log4j then you need to look for you
log4j.propertiesfile which is often (in Eclipse) in yoursrc/main/resourcesorsrc/test/resourcesfolders. It could look something like:This says that the default logging level is
DEBUG. If you change it toINFO, it will only show information messages and above.ERRORwill only show errors and above.You could turn off the ORMLite messages specifically by adding the following to your
log4j.propertiesfile:Hope this helps.