summaryrefslogtreecommitdiff
path: root/libs/gui/ConsumerBase.cpp
diff options
context:
space:
mode:
author Felipe Leme <felipeal@google.com> 2016-02-08 09:53:18 -0800
committer Felipe Leme <felipeal@google.com> 2016-02-08 09:56:53 -0800
commitcbce55d4fdbdd2e5a5515054c48d2116c5db2712 (patch)
tree20738780cf80adf9398c5d461aeacbc60f324448 /libs/gui/ConsumerBase.cpp
parent0078b180aeacc7b0cb89ec14cfa3326489392059 (diff)
Improved dumpstate logging.
dumpstate generates 3 types of output: - stdout: used for the bugreport itself and is redirected to a file if requested. - stderr: used for errors, is only useful when dumpstate is called from adb (otherwise is ignored). - ALOG: logged into logcat and available in the bugreport. This current approach has 2 problems: - stderr output is ignored when dumpstatet is called from bugreport services. - bugs on dumpstate are often hard to diagnose (AKA 'Who watches the watchmen?'). This change mitigates these problems by redirecting stderr into a log file (which will also be included in the bugreport notification) and by keeping the .tmp file around (for the extreme cases where the .zip file could not be generated or got corrupted). BUG: 26906985 Change-Id: I73e7b1dd10ad9f83b7aa1043131ff3b74c426fdb
Diffstat (limited to 'libs/gui/ConsumerBase.cpp')
0 files changed, 0 insertions, 0 deletions