Add log timers and better logging around DMARC record fetching.

Review Request #14366 — Created March 11, 2025 and submitted — Latest diff uploaded

Information

Djblets
release-5.x

Reviewers

In the event of a DNS issue, it's helpful to know how long a process
took to attempt the resolution, and to know what the failure was. To
help with this, we now wrap the DNS fetching with log_timed() and have
logging for different failure types.

Unit tests pass.

Changes between revision 1 and 2

orig
1
2

Commits

Summary ID Author
Add log timers and better logging around DMARC record fetching.
In the event of a DNS issue, it's helpful to know how long a process took to attempt the resolution, and to know what the failure was. To help with this, we now wrap the DNS fetching with `log_timed()` and have logging for different failure types.
d17f120f18cd84f6b7c34d8f7dd0de2f4f426a56 Christian Hammond
Add log timers and better logging around DMARC record fetching.
In the event of a DNS issue, it's helpful to know how long a process took to attempt the resolution, and to know what the failure was. To help with this, we now wrap the DNS fetching with `log_timed()` and have logging for different failure types.
1981f63955518750456003b41b8a5a2d0ceea7be Christian Hammond
djblets/mail/dmarc.py
Loading...