diff options
author | Jeremy Bettis <jbettis@google.com> | 2021-09-10 12:47:59 -0600 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-09-14 19:06:43 +0000 |
commit | f3fe88e89e4c0048fa9136cc4bf56855784113dc (patch) | |
tree | 788f1c90802bd5c719ec83662813febfe0253b04 /test/thermal.tasklist | |
parent | 6ef7afa7971b536f7e2a82f601d66ff0159d2473 (diff) | |
download | chrome-ec-f3fe88e89e4c0048fa9136cc4bf56855784113dc.tar.gz |
zmake: Improve logging
Add new flag --log-label to be the inverse of --no-log-label.
Set defaults to --log-level=INFO --no-log-label, but if --log-level is
set by the user, then default to --log-label. So a bare zmake command
will output at INFO with no labels, but zmake -l INFO will include
labels.
Suppress the job names [/mnt/.../hayato:ro] from the log lines if
--no-log-label.
Don't remove leading whitespace from logged lines, it messes up the
memory usage table.
Wait for file descriptors to stop writing output before checking for
warnings and errors in the output.
Change "Output file '...' created" to be at DEBUG instead of INFO.
BUG=None
TEST=zmake w/ no flags, -l ERROR, --log-label, --no-log-label
BRANCH=None
Change-Id: I76567ab49d5d9019c5f25c618fe10816fb2cfd35
Signed-off-by: Jeremy Bettis <jbettis@google.com>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3153592
Tested-by: Jeremy Bettis <jbettis@chromium.org>
Reviewed-by: Jack Rosenthal <jrosenth@chromium.org>
Commit-Queue: Jeremy Bettis <jbettis@chromium.org>
Diffstat (limited to 'test/thermal.tasklist')
0 files changed, 0 insertions, 0 deletions