scala - Turn Slick logging off -
slick fills console massive amount of log messages. wanted, documentation suggested, use slf4j-nop, logging turned off, akka needs own slf4j library.
so i'm left akka-slf4j_2.10 slick uses. i've tried many things. included in application.conf (tried , without "):
logger="off" logger.scala.slick="off" logger.scala.slick.session="off" logger.scala.slick.jdbc.jdbcbackend.statement="off" logger.scala.slick.jdbc="off" it has 0 effect. can me turn logging off can once again slick?
edit
some of log messages get:
17:16:56.706 [seating-akka.actor.default-dispatcher-8] debug scala.slick.ast.node$ - assigned type int/integer node insertcolumn seat_id 17:16:56.710 [seating-akka.actor.default-dispatcher-8] debug scala.slick.compiler.querycompiler - after phase insertcompiler:
i've fixed adding logback.xml src/main/resources:
<?xml version="1.0" encoding="utf-8"?> <configuration> <logger name="scala.slick" level="info" /> </configuration> i found somewhere in github project.
Comments
Post a Comment