Change I4a10a49db97d413349bcfceeb8c4164936fbcc40 added colorful PS4 via tput. However, if TERM is not set (as is the case when stacking noninteractively), tput errors with the following: tput: No value for $TERM and no -T specified ...twice for every log message, thus flooding the logs. This change set turns LOG_COLOR off by default for noninteractive execution. If LOG_COLOR is set to True when noninteractive (TERM is unset), obviate the above errors by passing tput a simple -T. Change-Id: I0f8ad82375cde463160bad5bd9918f1e4b19326d Closes-Bug: 1576405
34 KiB
34 KiB