Logging options for Slick

前端 未结 8 1734
抹茶落季
抹茶落季 2020-12-16 13:33

I\'m createing a Play 2.1 app, in which I have decided to use Slick for database interaction.
However I can\'t find documentation about how to configure/enable logging f

8条回答
  •  野趣味
    野趣味 (楼主)
    2020-12-16 13:43

    To print only select statements, in play-2.2.1 with slick 2.0.0, in application.conf have:

    logger.scala.slick.jdbc.JdbcBackend.statement=DEBUG
    

提交回复
热议问题