summaryrefslogtreecommitdiff
path: root/libutils/Unicode.cpp
diff options
context:
space:
mode:
authorMark Salyzyn <salyzyn@google.com>2016-08-04 07:43:46 -0700
committerMark Salyzyn <salyzyn@google.com>2016-08-08 10:20:22 -0700
commit5f08a607fc61b3f5b26f6c91774c0e39344f2128 (patch)
tree4ac7c39461256299ba73168cf832558b5e41d81c /libutils/Unicode.cpp
parent3cb2b74d73f7fcbf56fb6e0c19e8f46a9d4821d3 (diff)
logcat: lastLogTime only two most recent files
Scaling issues if -f logrotation is specified and there are a lot of log files to process in lastLogTime, focus on only the last two log files. This will cover the situation where we have recently rotated the logs and the last file is missing or empty. This also alters monotonic processing as well as it used to focus on only the last file; the danger being doubled now if the pair covers more than one reboot when filling in missing content with logcat -L. Problem was always there with one log file, but now we handle if rotation happened recently. A fair tradeoff for KISS. Bug: 30630936 Bug: 30612424 Bug: 28788401 Change-Id: I1c13b94e88f5edc08ecef52d407e296874ca5807
Diffstat (limited to 'libutils/Unicode.cpp')
0 files changed, 0 insertions, 0 deletions