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

Unified Diff: telemetry/telemetry/testing/run_tests.py

Issue 1805733002: Disable logging on chromeos. (Closed) Base URL: https://github.com/catapult-project/catapult.git@master
Patch Set: Created 4 years, 9 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: telemetry/telemetry/testing/run_tests.py
diff --git a/telemetry/telemetry/testing/run_tests.py b/telemetry/telemetry/testing/run_tests.py
index 961ea6ced7bbc439d6128e78e12357495093f7c0..c0e503415e64f58a341bf0c0131ea29173cb3a18 100644
--- a/telemetry/telemetry/testing/run_tests.py
+++ b/telemetry/telemetry/testing/run_tests.py
@@ -227,14 +227,9 @@ def _SetUpProcess(child, context): # pylint: disable=unused-argument
# Typ doesn't keep the DependencyManager initialization in the child
# processes.
binary_manager.InitDependencyManager(context.client_config)
+ args = context
# We need to reset the handlers in case some other parts of telemetry already
# set it to make this work.
- logging.getLogger().handlers = []
- logging.basicConfig(
- level=logging.INFO,
- format='(%(levelname)s) %(asctime)s %(module)s.%(funcName)s:%(lineno)d '
- '%(message)s')
- args = context
if not args.disable_logging_config:
logging.getLogger().handlers = []
achuithb 2016/03/15 23:28:43 Note these repeated lines, I believe there was a b
logging.basicConfig(
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698