DescriptionDelay logging about missing certifi until it is really needed.
Logging during module import time is not cool, it causes logger to auto
configure itself with some (wrong) defaults.
It eventually triggers assert in logging_utilities.prepare_logging (that gets
confused because the logger is already configured).
R=maruel@chromium.org, iannucci@chromium.org, aludwin@google.com
BUG=
Review-Url: https://codereview.chromium.org/2976073002
Committed: https://github.com/luci/luci-py/commit/b0cc1ee633f836e6e7a358b5fc5ce7fdd758040b
Patch Set 1 #
Total comments: 2
Patch Set 2 : nits, more comments #Messages
Total messages: 17 (9 generated)
|