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

Unified Diff: build/android/pylib/utils/logdog_helper.py

Issue 2777103004: Add logging for logdog link to logcat. (Closed)
Patch Set: Created 3 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 | build/android/test_runner.py » ('j') | build/android/test_runner.py » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/android/pylib/utils/logdog_helper.py
diff --git a/build/android/pylib/utils/logdog_helper.py b/build/android/pylib/utils/logdog_helper.py
index 8dfab7e403952e580c327c1498bc77e5e79f2b9e..f5e4137a68c8b5737c793f183c2198a0db423fb0 100644
--- a/build/android/pylib/utils/logdog_helper.py
+++ b/build/android/pylib/utils/logdog_helper.py
@@ -27,7 +27,7 @@ def text(name, data):
Returns:
Link to view uploaded text in logdog viewer.
"""
- logging.debug('Writing text to logdog stream, %s', name)
+ logging.info('Writing text to logdog stream, %s', name)
with get_logdog_client().text(name) as stream:
stream.write(data)
return stream.get_viewer_url()
@@ -43,7 +43,7 @@ def open_text(name):
Returns:
A file like object. close() file when done.
"""
- logging.debug('Opening text logdog stream, %s', name)
+ logging.info('Opening text logdog stream, %s', name)
return get_logdog_client().open_text(name)
@@ -58,7 +58,7 @@ def binary(name, binary_path):
Returns:
Link to view uploaded binary in logdog viewer.
"""
- logging.debug('Writing binary to logdog stream, %s', name)
+ logging.info('Writing binary to logdog stream, %s', name)
with get_logdog_client().binary(name) as stream:
with open(binary_path, 'r') as f:
stream.write(f.read())
@@ -80,6 +80,6 @@ def get_viewer_url(name):
@decorators.Memoize
def get_logdog_client():
- logging.debug('Getting logdog client.')
+ logging.info('Getting logdog client.')
return bootstrap.ButlerBootstrap.probe().stream_client()
« no previous file with comments | « no previous file | build/android/test_runner.py » ('j') | build/android/test_runner.py » ('J')

Powered by Google App Engine
This is Rietveld 408576698