How To Enable SQL Logging in Play Framework 2.xx?

Add the following parameters in conf/application.conf in order to enable Ebean SQL logging (com.avaje.ebean) in Play Framework 2.xx:

db.default.logStatements=true
logger.com.jolbox=DEBUG

Leave a Reply

Your email address will not be published. Required fields are marked *