Just a note to self on how to get (in my case) IntelliJ to spit out all SQL statements happening during unit tests.
- Add the following to application.conf
db.default.logSql=true
- Add the following to logback.xml
<logger name="org.jdbcdslog.ConnectionLogger" level="OFF" />
<logger name="org.jdbcdslog.StatementLogger" level="INFO" />
<logger name="org.jdbcdslog.ResultSetLogger" level="OFF" />
Source: StackOverflow