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

Issue 2948043002: webkitpy: Add time output to the start of logging messages. (Closed)

Created:
3 years, 6 months ago by mithro
Modified:
3 years, 6 months ago
CC:
chromium-reviews, blink-reviews, blink-reviews-style_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

webkitpy: Add time output to the start of logging messages. To understand how it is between log messages we should print a human (and machine) parsable version of the current time. This is needed to figure out what is going on in https://crbug.com/734467 but will be generally useful. Before; -------------------- webkitpy.common.system.log_utils: [DEBUG] Debug logging enabled. root: [DEBUG] results_json_value_overrides: {} root: [WARNING] Output directory exists '/fast/testdir2' webkitpy.common.system.filesystem: [INFO] Removing contents of /fast/testdir2 webkitpy.layout_tests.merge_results: [DEBUG] Merging following paths: webkitpy.layout_tests.merge_results: [DEBUG] ['/fast/chrome/src/blah', '/fast/chrome/src/blah'] -------------------- After; -------------------- 2017-06-23 10:39:32,803 - webkitpy.common.system.log_utils: [DEBUG] Debug logging enabled. 2017-06-23 10:39:32,803 - root: [DEBUG] results_json_value_overrides: {} 2017-06-23 10:39:32,804 - root: [WARNING] Output directory exists '/fast/testdir2' 2017-06-23 10:39:32,804 - webkitpy.common.system.filesystem: [INFO] Removing contents of /fast/testdir2 2017-06-23 10:39:32,805 - webkitpy.layout_tests.merge_results: [DEBUG] Merging following paths: 2017-06-23 10:39:32,805 - webkitpy.layout_tests.merge_results: [DEBUG] ['/fast/chrome/src/blah', '/fast/chrome/src/blah'] --------------------- R=qyearsley@chromium.org, jeffcarp@chromium.org, mcgreevy@chromium.org, dpranke@chromium.org BUG=735297 Review-Url: https://codereview.chromium.org/2948043002 Cr-Commit-Position: refs/heads/master@{#482141} Committed: https://chromium.googlesource.com/chromium/src/+/02a30eaf8b14d5f9d80f85470c0794ae584b12ff

Patch Set 1 #

Patch Set 2 : Changing the right log handler. #

Total comments: 4

Patch Set 3 : git cl try #

Unified diffs Side-by-side diffs Delta from patch set Stats (+15 lines, -6 lines) Patch
M third_party/WebKit/Tools/Scripts/webkitpy/common/system/log_utils.py View 1 2 5 chunks +14 lines, -5 lines 0 comments Download
M third_party/WebKit/Tools/Scripts/webkitpy/common/system/log_utils_unittest.py View 1 2 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 19 (12 generated)
mithro
PTAL.
3 years, 6 months ago (2017-06-21 05:08:42 UTC) #3
qyearsley
Nice, supporting adding time output to logging messages seems helpful :-) https://codereview.chromium.org/2948043002/diff/20001/third_party/WebKit/Tools/Scripts/webkitpy/common/system/log_utils.py File third_party/WebKit/Tools/Scripts/webkitpy/common/system/log_utils.py (right): ...
3 years, 6 months ago (2017-06-21 16:42:26 UTC) #6
mithro
https://codereview.chromium.org/2948043002/diff/20001/third_party/WebKit/Tools/Scripts/webkitpy/common/system/log_utils.py File third_party/WebKit/Tools/Scripts/webkitpy/common/system/log_utils.py (right): https://codereview.chromium.org/2948043002/diff/20001/third_party/WebKit/Tools/Scripts/webkitpy/common/system/log_utils.py#newcode67 third_party/WebKit/Tools/Scripts/webkitpy/common/system/log_utils.py:67: handlers=None, no_time=False): On 2017/06/21 16:42:26, qyearsley wrote: > It ...
3 years, 6 months ago (2017-06-23 00:37:57 UTC) #11
mithro
I updated the commit message with some example log output.
3 years, 6 months ago (2017-06-23 00:40:55 UTC) #13
qyearsley
On 2017/06/23 00:40:55, mithro wrote: > I updated the commit message with some example log ...
3 years, 6 months ago (2017-06-23 17:20:09 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/2948043002/40001
3 years, 6 months ago (2017-06-24 03:49:17 UTC) #16
commit-bot: I haz the power
3 years, 6 months ago (2017-06-24 07:18:46 UTC) #19
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/02a30eaf8b14d5f9d80f85470c07...

Powered by Google App Engine
This is Rietveld 408576698