odin slf4j bridge catch all for asynchttpclient
This commit is contained in:
parent
af065a7589
commit
1c2e3fb19f
@ -20,7 +20,8 @@ class StaticLoggerBinder extends OdinLoggerBinder[IO] {
|
||||
val loggers: PartialFunction[String, Logger[IO]] = {
|
||||
case "some.external.package.SpecificClass" =>
|
||||
consoleLogger[IO](minLevel = Level.Warn) //disable noisy external logs
|
||||
case "org.asynchttpclient.netty.channel.DefaultChannelPool" =>
|
||||
case asyncHttpClient
|
||||
if asyncHttpClient.startsWith("org.asynchttpclient.netty") =>
|
||||
consoleLogger[IO](minLevel = Level.Warn)
|
||||
case _ => //if wildcard case isn't provided, default logger is no-op
|
||||
consoleLogger[IO]()
|
||||
|
Loading…
Reference in New Issue
Block a user