commit | 682c34bbc32f3a9f007dd949282651ed35d4f6e3 | [log] [tgz] |
---|---|---|
author | Tao Bao <tbao@google.com> | Tue Apr 07 17:16:35 2015 -0700 |
committer | Tao Bao <tbao@google.com> | Tue Apr 07 22:02:27 2015 -0700 |
tree | f91733ca7065a14f6a8e0007cb7ea3d3685f3b3e | |
parent | 6896f9d47db1f959a907d2e67e55860af23e65f8 [diff] |
Rotate logs only when there are actual operations Currently it rotates the log files every time it boots into the recovery mode. We lose useful logs after ten times. This CL changes the rotation condition so that it will rotate only if it performs some actual operations that modify the flash (installs, wipes, sideloads and etc). Bug: 19695622 Change-Id: Ie708ad955ef31aa500b6590c65faa72391705940