platform_system_core/logcat
Mark Salyzyn 02687e75b0 logcat: add --id=<id> for -f option
Clear file rotate content if id signature changes. This allows
logcatd to detect change of property ro.build.id to reset the
recorded data. The id is stored in the the -f filespec as
<filespec>.id.

If the id file is missing or unreadable, do not clear. Allow an
API where chmod 0 to the id file blocks this feature. Does not
work for root.

Add logcat.logrotate_id gTest.

Bug: 30591615
Change-Id: I895749ca7c6d4af57ec57f058a29d8e3af2f8b27
2016-08-08 10:19:48 -07:00
..
tests logcat: add --id=<id> for -f option 2016-08-08 10:19:48 -07:00
Android.mk logcat: Add --regex option 2016-03-25 13:55:29 -07:00
event.logtags Add float support to binary event log. 2015-04-28 18:20:48 -07:00
logcat.cpp logcat: add --id=<id> for -f option 2016-08-08 10:19:48 -07:00
logcatd.rc logcatd: trampoline persist.logd.logpersistd to logd.logpersistd 2016-07-08 11:06:06 -07:00
logpersist logcatd: logpersist.start more descriptive warning 2016-08-08 10:03:05 -07:00
MODULE_LICENSE_APACHE2 auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
NOTICE auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00