acra logcat missing lines

*爱你&永不变心* 提交于 2019-12-11 20:17:21

问题


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

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!