当前位置:网站首页>AOSP ~ Logcat Chatty 行过期
AOSP ~ Logcat Chatty 行过期
2022-06-11 02:03:00 【南柯好萌】
收到许多与我的应用程序有关的此类logcat消息
11-19 19:04:23.872 3327 3440 I chatty : uid=10085 com.xxxx.yyy expire 18 lines
这些日志消息是什么? 我是否在这里缺少实际的应用程序logcat日志?
是的,您缺少日志, 这表明某些消息未将其放入实际日志中,可能是因为其他应用程序向其中发送了太多消息。
`这似乎是Marshmallow(?)中liblog中的新事物。 找不到关于新日志记录策略的清晰解释,即使实际上有一个解释,但此处还是提到了这种变化:
一旦应用程序记录了5个以上的内容,我们就宣布该应用程序过于健谈 排一秒钟。 请针对应用程序所有者提出错误, 正在产生此开发人员详细调试级别的类日志记录垃圾邮件。 日志 大小为256KB,这意味着应用程序正在创建DOS攻击, 将日志时间跨度缩短到6秒(!),使其对所有其他日志都无效。
一旦应用程序被logcat认为是“聊天”(每秒超过5行),您的应用程序日志将被折叠。
- 将我的应用程序列入了白名单:
adb logcat -P "45678"
- 可以使用以下方式禁用此行为:
adb logcat -P ""
- 显示我将我的应用程序列入了白名单
adb logcat -p
45678 (the UID of my app)
或者
setprop ro.logd.filter disable
setprop persist.logd.filter disable
可以在以下位置检查代码 system/core/logd/LogWhiteBlackList.cpp
边栏推荐
- 环糊精金属有机骨架(β-CD-MOF)装载二巯丁二酸/大黄素/槲皮素/三氯蔗糖/二氟尼柳/奥美拉唑(OME)
- UI interaction
- Learning Tai Chi Maker - esp8226 (II)
- 如何3步精读《PMBOK指南》(经验+资料分享)
- Everything实现快速搜索的原理
- aspects to consider for a recommendation letter
- 逃离大城市的年轻人:扛住了房价和压力,没扛住流行病
- [AI weekly] AI and freeze electron microscopy reveal the structure of "atomic level" NPC; Tsinghua and Shangtang proposed the "SIM" method, which takes into account semantic alignment and spatial reso
- CPT 102_LEC 13-14
- Kotlin apply method
猜你喜欢
![[MySQL 45 -10] Lesson 10 how MySQL selects indexes](/img/eb/dbde2852a89ece383266da1aeea862.jpg)
[MySQL 45 -10] Lesson 10 how MySQL selects indexes

Limiting visibility of symbols when linking shared libraries

深度学习基础篇【4】从0开始搭建EasyOCR并进行简单文字识别

軟件測試英語常見詞匯

2022 safety officer-a certificate special operation certificate examination question bank and simulation examination

Tests logiciels vocabulaire commun anglais

Epoll principle and Application & ET mode and lt mode

To view the data in redis, in addition to the command line and client, you have a third option

One line of code solves the problem that the time to fetch datetime from MySQL database is less than eight hours

【斐波那契数列】
随机推荐
Explanation of spark common parameters
逃离大城市的年轻人:扛住了房价和压力,没扛住流行病
error exepected identifier before ‘(‘ token, grpc 枚举类编译错误
你的公司会选择开发数据中台吗?
Tests logiciels vocabulaire commun anglais
企业展厅设计能为企业带来什么?
Why is the trend chart of precious metal silver strong?
Kotlin apply method
A数位dp
CPT 102_LEC 20
Unity HTC and Pico are the same
【斐波那契数列】
String operation methods: replace, delete and split strings
年金保險理財產品可以複利嗎?利率是多少?
A digit DP
MySQL备份与恢复
Sd3.0 notes
UI interaction
[parallel and distributed systems] cache learning
PHP starts OpenSSL and reports OpenSSL support=> disabled (install ext/openssl)