edulify / play-hikaricp.edulify.com

HikariCP Plugin for Playframework 2.2.x and 2.3.x
http://edulify.github.io/play-hikaricp.edulify.com/
Apache License 2.0
82 stars 35 forks source link

Info level messages leaking into logs despite error level set #50

Closed Enalmada closed 9 years ago

Enalmada commented 9 years ago

I just upgraded from 1.4.1 to 1.5.2 and now have "[info] HikariPool - HikariCP pool HikariPool-114 is shutting down." in logs despite having "logger.com.zaxxer.hikari=ERROR" in my application.conf.

This message adds alot of noise to the test results. I apologize if this is a silly question but how can I turn off all HikariPool message in this new version so unit tests go back to ERROR only.

✗ activator test
[info] The Collections utility should
[info] + return the previous element in the collection
[info] 
[info] Total for specification CollectionsSpec
[info] Finished in 2 ms
[info] 1 example, 0 failure, 0 error
[info] HikariPool - HikariCP pool HikariPool-26 is shutting down.
[info] HikariPool - HikariCP pool HikariPool-27 is shutting down.
[info] HikariPool - HikariCP pool HikariPool-28 is shutting down.
[info] HikariPool - HikariCP pool HikariPool-29 is shutting down.
[info] HikariPool - HikariCP pool HikariPool-30 is shutting down.
[info] HikariPool - HikariCP pool HikariPool-31 is shutting down.
...
...
...
Enalmada commented 9 years ago

It actually looks like this does the trick in application.conf...

logger.HikariPool=ERROR