Improve debug logs. (#3126)

Print request and response bodies with newlines, rather than all on one line.
Remove "Omitted empty field" log, which gets logged meaninglessly for every JSON
serialization.
Remove duplicated logging of responses.
Log the base64 version of the nonce, rather than turning it into bytes and
logging the backslash-escaped version of those bytes.
Only pass -vv in tests.
This commit is contained in:
Jacob Hoffman-Andrews
2016-10-26 18:07:33 -07:00
committed by GitHub
parent 4b5db7aec4
commit 88076e46c7
4 changed files with 50 additions and 19 deletions
+1 -1
View File
@@ -32,6 +32,6 @@ certbot_test_no_force_renew () {
--agree-tos \
--register-unsafely-without-email \
--debug \
-vvvvvvv \
-vv \
"$@"
}