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

Issue 2622693003: Change the logging of NotBootstrappedError. (Closed)

Created:
3 years, 11 months ago by BigBossZhiling
Modified:
3 years, 11 months ago
Reviewers:
jbudorick
CC:
chromium-reviews, mikecase+watch_chromium.org, jbudorick+watch_chromium.org, agrieve+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Change the logging of NotBootstrappedError. Previously we log even the stacktrace of NotBootstrappedError. It turned out that it really pollutes log by spamming the log with stacktraces. In this cl, we changed the logging of error to just one line. BUG=675666 Review-Url: https://codereview.chromium.org/2622693003 Cr-Commit-Position: refs/heads/master@{#443013} Committed: https://chromium.googlesource.com/chromium/src/+/87f7645fd8cf2ce0c2a6964a5b9674b875063319

Patch Set 1 #

Total comments: 1

Patch Set 2 : debug log #

Patch Set 3 : quick fix #

Total comments: 2

Patch Set 4 : ffixes #

Patch Set 5 : fixes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -2 lines) Patch
M build/android/pylib/android/logdog_logcat_monitor.py View 1 2 3 4 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 19 (9 generated)
BigBossZhiling
3 years, 11 months ago (2017-01-10 00:58:42 UTC) #3
jbudorick
I'm worried that the scary part isn't the log message but the exception trace. Maybe ...
3 years, 11 months ago (2017-01-10 01:02:42 UTC) #6
jbudorick
I'm worried that the scary part isn't the log message but the exception trace. Maybe ...
3 years, 11 months ago (2017-01-10 01:02:45 UTC) #7
BigBossZhiling
3 years, 11 months ago (2017-01-11 00:40:56 UTC) #10
BigBossZhiling
3 years, 11 months ago (2017-01-11 00:40:56 UTC) #11
jbudorick
https://codereview.chromium.org/2622693003/diff/40001/build/android/pylib/android/logdog_logcat_monitor.py File build/android/pylib/android/logdog_logcat_monitor.py (right): https://codereview.chromium.org/2622693003/diff/40001/build/android/pylib/android/logdog_logcat_monitor.py#newcode31 build/android/pylib/android/logdog_logcat_monitor.py:31: logging.exception('Unable to enable logdog_logcat: NotBootstrapped.') This call logs the ...
3 years, 11 months ago (2017-01-11 01:54:03 UTC) #12
BigBossZhiling
https://codereview.chromium.org/2622693003/diff/40001/build/android/pylib/android/logdog_logcat_monitor.py File build/android/pylib/android/logdog_logcat_monitor.py (right): https://codereview.chromium.org/2622693003/diff/40001/build/android/pylib/android/logdog_logcat_monitor.py#newcode31 build/android/pylib/android/logdog_logcat_monitor.py:31: logging.exception('Unable to enable logdog_logcat: NotBootstrapped.') On 2017/01/11 01:54:03, jbudorick ...
3 years, 11 months ago (2017-01-11 19:05:29 UTC) #13
jbudorick
lgtm
3 years, 11 months ago (2017-01-11 19:06:43 UTC) #14
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/2622693003/80001
3 years, 11 months ago (2017-01-11 19:08:55 UTC) #16
commit-bot: I haz the power
3 years, 11 months ago (2017-01-11 22:21:39 UTC) #19
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://chromium.googlesource.com/chromium/src/+/87f7645fd8cf2ce0c2a6964a5b96...

Powered by Google App Engine
This is Rietveld 408576698