boulder icon indicating copy to clipboard operation
boulder copied to clipboard

va: reduce duplication in "Validation result" log message

Open jsha opened this issue 1 year ago • 1 comments

When we log a validation result with an error, it shows up three places:

  • We log the updated challenge object, which includes the error
  • We log the error at the top level of the JSON object
  • We log the internal error

We should fix this by:

  • Not logging the updated challenge object
  • Logging the internal error only if it differs from the external error (modulo the prefix of the error type)

jsha avatar Jul 09 '24 20:07 jsha

One error that has caused confusion for users is errors of the form

dns :: no valid A records found for example.com; no valid AAAA records found for example.com

I haven't looked at how that's generated, but could we collapse those errors to no valid A or AAAA records found for example.com as a special-case?

mcpherrinm avatar Jul 10 '24 00:07 mcpherrinm