paulc / dnslib

A Python library to encode/decode DNS wire-format packets
https://github.com/paulc/dnslib
BSD 2-Clause "Simplified" License
295 stars 84 forks source link

DNSLogger: Add option to not print logs #24

Closed theova closed 3 years ago

theova commented 3 years ago

Hi,

Thank you for this great project!

When running an instance of DNSServer, the output is quite verbose. I've looked through the documentation and did not find a way to mute the logs completely with one single option.

It would be nice to have this option.

Regards

paulc commented 3 years ago

DNSLogger(log='none')