commit | 722ad72c1672aab53619d2a937e676679a6668e0 | [log] [tgz] |
---|---|---|
author | Brett Chabot <brettchabot@google.com> | Tue Jan 29 16:07:02 2013 -0800 |
committer | Brett Chabot <brettchabot@google.com> | Wed Jan 30 15:37:02 2013 -0800 |
tree | ac5737904195ef84c3b7ad39efacc247c9f951e2 | |
parent | 3a6e029dcc21793fc88e7b2a5006b23d10a6a0fc [diff] |
Limit tradefed log files to a maximum size. Refactor the implementation to limit device logcat size to a common SizeLimitedOutputStream class, and use it for both host log and device logcat storage. This new implementation also improves the accuracy in which the 'max data size' attribute is adhered to. Bug 8095071 Change-Id: I442aa41bb799d2dc3e94385e073333d1e69ae6d9