| Index: build/android/pylib/android/logdog_logcat_monitor.py
|
| diff --git a/build/android/pylib/android/logdog_logcat_monitor.py b/build/android/pylib/android/logdog_logcat_monitor.py
|
| index 42cb41234f15da7e8f34778ef61d99860e6baae2..2125e2e7780bcd64ffae019fd82f4e86c03c1629 100644
|
| --- a/build/android/pylib/android/logdog_logcat_monitor.py
|
| +++ b/build/android/pylib/android/logdog_logcat_monitor.py
|
| @@ -28,8 +28,8 @@ class LogdogLogcatMonitor(logcat_monitor.LogcatMonitor):
|
| self._stream_client = bootstrap.ButlerBootstrap.probe().stream_client()
|
| self._logdog_stream = self._stream_client.open_text(self._stream_name)
|
| except bootstrap.NotBootstrappedError as e:
|
| - logging.exception(
|
| - 'Error not bootstrapped. Failed to start logdog: %s', e)
|
| + if logging.getLogger().isEnabledFor(logging.DEBUG):
|
| + logging.exception('Unable to enable logdog_logcat: %s.', e)
|
| except (KeyError, ValueError) as e:
|
| logging.exception('Error when creating stream_client/stream: %s.', e)
|
| except Exception as e: # pylint: disable=broad-except
|
|
|