Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(125)

Issue 2976073002: Delay logging about missing certifi until it is really needed. (Closed)

Created:
3 years, 5 months ago by Vadim Sh.
Modified:
3 years, 5 months ago
Reviewers:
iannucci, aludwin, M-A Ruel, smut
CC:
chromium-reviews, infra-reviews+luci-py_chromium.org
Target Ref:
refs/heads/master
Project:
luci-py
Visibility:
Public.

Description

Delay 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 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+9 lines, -3 lines) Patch
M client/isolate_storage.py View 1 3 chunks +9 lines, -3 lines 0 comments Download

Messages

Total messages: 17 (9 generated)
Vadim Sh.
This broke some portion of Swarming tasks on chromium-swarm :( E.g https://chromium-swarm.appspot.com/task?id=375217e9db9ccb10&refresh=10&show_raw=1
3 years, 5 months ago (2017-07-13 00:13:01 UTC) #1
smut
lgtm
3 years, 5 months ago (2017-07-13 00:14:23 UTC) #3
smut
https://codereview.chromium.org/2976073002/diff/1/client/isolate_storage.py File client/isolate_storage.py (right): https://codereview.chromium.org/2976073002/diff/1/client/isolate_storage.py#newcode45 client/isolate_storage.py:45: except ImportError as err: Unused variable "err".
3 years, 5 months ago (2017-07-13 00:15:36 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2976073002/1
3 years, 5 months ago (2017-07-13 00:15:49 UTC) #6
Vadim Sh.
https://codereview.chromium.org/2976073002/diff/1/client/isolate_storage.py File client/isolate_storage.py (right): https://codereview.chromium.org/2976073002/diff/1/client/isolate_storage.py#newcode45 client/isolate_storage.py:45: except ImportError as err: On 2017/07/13 00:15:36, smut wrote: ...
3 years, 5 months ago (2017-07-13 00:18:03 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2976073002/20001
3 years, 5 months ago (2017-07-13 00:18:28 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2976073002/20001
3 years, 5 months ago (2017-07-13 00:26:48 UTC) #14
commit-bot: I haz the power
3 years, 5 months ago (2017-07-13 00:36:15 UTC) #17
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://github.com/luci/luci-py/commit/b0cc1ee633f836e6e7a358b5fc5ce7fdd758040b

Powered by Google App Engine
This is Rietveld 408576698