netty5/resolver-dns
Chris Vest 6150a0e3c5
Expose a LoggingDnsQueryLifeCycleObserverFactory (#10488)
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 17:38:29 +02:00
..
src Expose a LoggingDnsQueryLifeCycleObserverFactory (#10488) 2020-08-19 17:38:29 +02:00
pom.xml Expose a LoggingDnsQueryLifeCycleObserverFactory (#10488) 2020-08-19 17:38:29 +02:00