acra logcat缺少行 [英] acra logcat missing lines

查看:113
本文介绍了acra logcat缺少行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我按照Android网站ACrA所说的,将sendlog logcat信息发送给了mygoogle spredsheet。我能够收到预期的日志,但是我只能得到最后10行而不是我指定的150行。是否应该向acra。发送150行,还是应该查看150行并过滤掉我要过滤的所有内容,然后再将过滤后的版本发送给我?我希望第一个这样。任何帮助都将受到赞赏

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

谢谢

推荐答案

正如我在评论中解释的那样:

As I explained in the comments:


  • ACRA将logcat参数设置直接转发到LogCat命令行,因此logcat负责过滤

  • 我们可以修改ACRA以处理对整个可用logcat输出的过滤。

  • 从ACRA 4.3.0(测试阶段正在进行,直到2012年9月1日)开始,您可以将日志写入自己的文件中,并将其配置为发送其内容在报告中(具有可配置的行数)

  • 从JellyBean开始,未将READ_LOGS权限授予第三方应用程序。仅系统应用程序可以使用它。另一方面,应用程序可以调用logcat并仅获得自己的跟踪而无需任何许可。

  • 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.

这篇关于acra logcat缺少行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆