Closed mperham closed 2 years ago
RubyDNS.run_server(INTERFACES) do
self.logger = Logger.new(STDOUT)
Looks like there is an incompatibility between Console::Logger
and Ruby's standard Logger
. We can fix this by writing it like this:
@logger.error(self) {error}
https://github.com/socketry/async-dns/blob/3cb580150619da2a32d4939368217abf6de9fb82/lib/async/dns/handler.rb#L62