|
@ -20,7 +20,8 @@ class StaticLoggerBinder extends OdinLoggerBinder[IO] { |
|
|
val loggers: PartialFunction[String, Logger[IO]] = { |
|
|
val loggers: PartialFunction[String, Logger[IO]] = { |
|
|
case "some.external.package.SpecificClass" => |
|
|
case "some.external.package.SpecificClass" => |
|
|
consoleLogger[IO](minLevel = Level.Warn) //disable noisy external logs |
|
|
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) |
|
|
consoleLogger[IO](minLevel = Level.Warn) |
|
|
case _ => //if wildcard case isn't provided, default logger is no-op |
|
|
case _ => //if wildcard case isn't provided, default logger is no-op |
|
|
consoleLogger[IO]() |
|
|
consoleLogger[IO]() |
|
|