commit | e88d638b5b2b20cdd5d78e522f43f84a513bb652 | [log] [tgz] |
---|---|---|
author | Hung-Te Lin <hungte@chromium.org> | Wed Nov 21 10:35:42 2018 +0800 |
committer | Commit Bot <commit-bot@chromium.org> | Mon Jul 20 04:47:41 2020 +0000 |
tree | 1fa42e453c187756de69cf30c7acde2f29eb0a64 | |
parent | f5578866e2c1b6acc7ae493db7f0657c4aa4a589 [diff] |
futility: updater: Revise output messages for debug logs In auto update and recovery, the firmware updater was executed with both stdout and stderr logged. However, the logs usually comes with all stderr first then all stdout. This makes it harder to debug because the messages logged in out of order. TO solve that, few macros are introduced: INFO: for useful information. STATUS: the most common information, usually comes with a prefix code. And all messages should now go to stderr except the final execution result (and those output commands, for example --manifest). BUG=chromium:875551 TEST=TEST=make futil; tests/futility/run_test_scripts.sh $(pwd)/build/futility CQ-DEPEND=CL:1345250 BRANCH=None Change-Id: Ie0dc6594ece10e7e15caf9c36353e2b3ec8754c5 Signed-off-by: Hung-Te Lin <hungte@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/1345611 Reviewed-by: Youcheng Syu <youcheng@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/vboot_reference/+/1694203 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/vboot_reference/+/2306633 Reviewed-by: Cheng-Han Yang <chenghan@chromium.org> Commit-Queue: Cheng-Han Yang <chenghan@chromium.org> Tested-by: Cheng-Han Yang <chenghan@chromium.org>