I'm using play 2.2.0 How cam I log ebean sql I tried
db.default.logStatements=true
logger.com.jolbox=DEBUG
In config file but no luck. should I add any code to my models or create extra config files? what Is the configuration working for this version?
Hi you need to add logger.xml to your
/conf/logger.xml
.This:
com.jolbox.bonecp
will be adding all sql to console and will write to fileapplication-currentdate.log
.