netty5/resolver-dns
Chris Vest 0bbe4ce9fd
Expose a LoggingDnsQueryLifeCycleObserverFactory (#10490)
Expose a LoggingDnsQueryLifeCycleObserverFactory

Motivation:
 There is a use case for having logging in the DnsNameResolver, similar to the LoggingHandler.
 Previously, one could set `traceEnabled` on the DnsNameResolverBuilder, but this is not very configurable.
 Specifically, the log level and the logger context cannot be changed.

Modification:
 Expose a LoggingDnsQueryLifeCycleObserverFactory, that permit changing the log-level
 and logger context.

Result:
 It is now possible to get logging in the DnsNameResolver at a custom log level and logger,
 without very much effort.

Fixes #10485
2020-08-19 20:22:38 +02:00
..
src Expose a LoggingDnsQueryLifeCycleObserverFactory (#10490) 2020-08-19 20:22:38 +02:00
pom.xml Expose a LoggingDnsQueryLifeCycleObserverFactory (#10490) 2020-08-19 20:22:38 +02:00