summaryrefslogtreecommitdiff
path: root/common/dynamic_partition_control_interface.h
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 16:41:12 +0000
commitf1fba65bf15dce01d77a21104ebec0c521136faa (patch)
treeefe52aac859ebc20d6e33501c9fdb812cc798313 /common/dynamic_partition_control_interface.h
parentc80de2da7e72a52cda68017a9b6383d15a6ba28b (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
Diffstat (limited to 'common/dynamic_partition_control_interface.h')
0 files changed, 0 insertions, 0 deletions