问题
I did what the ACrA for android website saidin terms of sendig logcat information to mygoogle spredsheet. I was able to receive the log intended however I only get the last 10 lines instead of 150 that i specified. Is acra.supposed to send me 150 lines or is it supposed to look at 150 lines and filters out whatever I asked to be filtered and then send me the filtered version? I expect the first one so.any help is appreciated
Thank you
回答1:
As I explained in the comments:
- ACRA forwards the logcat parameters settings directly to the LogCat command line, so logcat is responsible of the filtering
- we could modify ACRA to take care of the filtering on the whole available logcat output. This is not implemented yet.
- Starting with ACRA 4.3.0 (beta phase in progress until the 1st of sept. 2012) you can write your logs in your own file and configure it to send its content in your reports (with a configurable number of lines)
- starting with JellyBean, the READ_LOGS permission is not granted to third party apps. Only system apps can use it. On the other hand, apps can call logcat and get only their own traces without any permission.
来源:https://stackoverflow.com/questions/11926806/acra-logcat-missing-lines