Slick 3.0 Executing Logging Requests
I currently have DEBUG logging enabled:
slick.backend
It logs the start / end of a transaction, the compiled SQL query executed by slick, and the success / results.
Can slick give me information about the execution time of the request? On which package should I enable DEBUG mode to get this information?
Edit
I found a link that says this is not possible. Does this persist?
+3
source to share
1 answer
Found the answer to the question using @szeiger. Enable logging in the following package to get information about the execution time of SQL queries in Slick 3.0:
slick.jdbc.JdbcBackend.benchmark
Other useful packages for enabling DEBUG registration:
slick.jdbc.JdbcBackend.statement
slick.jdbc.StatementInvoker.result
slick.compiler.QueryCompilerBenchmark
*Reference:*
https://github.com/slick/slick/blob/master/common-test-resources/logback.xml
+8
source to share