summaryrefslogtreecommitdiff
path: root/scripts/payload_info_unittest.py
diff options
context:
space:
mode:
authorYifan Hong <elsk@google.com>2020-03-02 13:03:25 -0800
committerYifan Hong <elsk@google.com>2020-03-05 08:48:57 -0800
commitf9666d7c547f3d764771a2f64a5bbc110dc8730f (patch)
treeb6bf432f847620cf72e7faaacf51e41d3dbd8809 /scripts/payload_info_unittest.py
parent538d85275a94b09a1a7289ee44c13c7d508d2ec9 (diff)
Preserve libbase / liblog logs.
Previously in Android, libchrome's logging::InitLogging is called with log_file set. update_engine depends on various Android modules (notabily, libfs_mgr etc.) which uses libbase / liblog logging functionality. These logs are not written to the file and often unavailable to bug reports. Now, in Android, setup libbase logger (which sets liblog logger). Logs from liblog / libbase / libchrome are all re-directed to the custom logger, CombinedLogger, which writes to logd and/or the persistent log file. Test: reboot and inspect /data/misc/update_engine_log and logcat. Bug: 147696014 Bug: 148818798 Change-Id: Ie55017f99515bf7b2443012810a14e1f3465c5d0 Merged-In: Ie55017f99515bf7b2443012810a14e1f3465c5d0
Diffstat (limited to 'scripts/payload_info_unittest.py')
0 files changed, 0 insertions, 0 deletions