Playframework 2.5.0 and slick Log SQL Statements/Queries

In playframework 2.5.x in your logback.xml file add the following line.

<logger name="slick.jdbc.JdbcBackend.statement" level="DEBUG" />

Playframework 2.5. correct postgres configuration

In application.conf at the end of the file do:

slick.dbs.default.driver = "slick.driver.PostgresDriver$"
slick.dbs.default.db.driver = "org.postgresql.Driver"
slick.dbs.default.db.url = "jdbc:postgresql://localhost:5432/database"
slick.dbs.default.db.user = "username"
slick.dbs.default.db.password = "password"