diff options
author | Tianjie Xu <xunchang@google.com> | 2018-01-19 14:31:31 -0800 |
---|---|---|
committer | Tianjie Xu <xunchang@google.com> | 2018-01-23 15:52:43 -0800 |
commit | c08140b93912c1712b513f7542a2d4209a6fd795 (patch) | |
tree | 7a08d17f2f4c43417d601bbecc1f2cff828bb7b3 /scripts/update_payload/format_utils.py | |
parent | 06bbe49817dea125b63280a99f5535b2ee084ce7 (diff) |
Save multiple copies of update engine logs
Right now we only have one copy of update engine log; and it's
overwritten if the device reboots or update engine restarts. This CL
save multiple copies of the logs with timestamp in
"/data/misc/update_engine_log/". It also implements a function to
keep the most recent five logs but delete the old ones.
Bug: 72080233
Test: Logs are created with correct permission; and old logs are deleted
when update engine starts.
Change-Id: I9853546bce879e7fbd6380419a85e01256331247
Diffstat (limited to 'scripts/update_payload/format_utils.py')
0 files changed, 0 insertions, 0 deletions