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

Unified Diff: third_party/WebKit/Tools/Scripts/webkitpy/common/system/logtesting.py

Issue 2373833002: In the logtesting support module, fix the setting of logging level. (Closed)
Patch Set: Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | third_party/WebKit/Tools/Scripts/webkitpy/common/system/logtesting_unittest.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Tools/Scripts/webkitpy/common/system/logtesting.py
diff --git a/third_party/WebKit/Tools/Scripts/webkitpy/common/system/logtesting.py b/third_party/WebKit/Tools/Scripts/webkitpy/common/system/logtesting.py
index 9067a4c9b83a9b34b66095c7fe1dc9ed938b6b6f..2a33efd3dbc84f2038e2289b1ca3a201e738c2c4 100644
--- a/third_party/WebKit/Tools/Scripts/webkitpy/common/system/logtesting.py
+++ b/third_party/WebKit/Tools/Scripts/webkitpy/common/system/logtesting.py
@@ -150,6 +150,7 @@ class LogTesting(object):
# with how the code being tested may have configured the root
# logger.
logger = LogTesting._getLogger()
+ logger.setLevel(logging_level)
logger.addHandler(handler)
return LogTesting(stream, handler)
« no previous file with comments | « no previous file | third_party/WebKit/Tools/Scripts/webkitpy/common/system/logtesting_unittest.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698