Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion extensions/dns/dns.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,10 @@ class Server < Async::DNS::Server

def initialize
super()
logger.level = Logger::ERROR
# Async::DNS::Server#logger returns the Console module itself, which
# has no level= method. The per-instance logger behind Console is the
# one that accepts a level.
Console.logger.level = Console::Logger::ERROR
@lock = Mutex.new
@database = BeEF::Core::Models::Dns::Rule
@data_chunks = {}
Expand Down