aboutsummaryrefslogtreecommitdiff
path: root/tests/__init__.py
diff options
context:
space:
mode:
authorPaul Barker <paul@pbarker.dev>2021-06-07 11:02:52 +0100
committerKonstantin Ryabitsev <konstantin@linuxfoundation.org>2021-06-07 08:49:23 -0400
commit506cf91716ff32c3747829b8556ce2d26b1936a4 (patch)
treee92684d32d1454771ed322a588ce01cfca0abd2e /tests/__init__.py
parent366bcd1fd8a10b6125e591f0c35cc85b10c9c950 (diff)
downloadb4-506cf91716ff32c3747829b8556ce2d26b1936a4.tar.gz
Include dkim log output when -d/--debug argument is passed
We can pass a logger object to dkim.verify() which will be used to report internal errors and debugging info. This can be helpful when investigating DKIM verification issues but is probably not wanted during normal operation so the log level of each message is reset to DEBUG. Each message is also prefixed with 'DKIM: ' to identify its origin when debug output is enabled. Signed-off-by: Paul Barker <paul@pbarker.dev> Signed-off-by: Konstantin Ryabitsev <konstantin@linuxfoundation.org> Link: https://lore.kernel.org/r/20210607100252.8253-3-paul@pbarker.dev
Diffstat (limited to 'tests/__init__.py')
0 files changed, 0 insertions, 0 deletions