问题描述
在最近的 Android Studio 更新(目前我运行的是 3.1.2)之后,logcat 开始间歇性地删除时间戳和 PID 信息.
After a recent Android Studio update (currently I'm running 3.1.2), logcat started intermittently dropping the time stamp and PID info.
05-01 13:26:03.962 12909-12909/com.perinote.perinote D/Perinote: SG(BI) Intercept DOWN, state NONE
SG(BI) long timer started 1525206363962, for 500, to 1525206364462
05-01 13:26:03.965 12909-12909/com.perinote.perinote D/Perinote: SG(BI) DOWN, state ONE
05-01 13:26:04.008 12909-12909/com.perinote.perinote D/Perinote: SG(PF) Intercept UP, state ONE
SG(PF) long timer cancelled
05-01 13:26:04.010 12909-12909/com.perinote.perinote D/Perinote: SG(BI) UP, state ONE
SG(BI) long timer cancelled
SG(BI) double timer started
05-01 13:26:04.011 12909-12909/com.perinote.perinote D/Perinote: SG(BI) UP, ret true
05-01 13:26:04.310 12909-12909/com.perinote.perinote D/Perinote: SG(BI) double timer done
SG(BI) SINGLE_TAP 578,82
BI single tap
BL onNav
05-01 13:26:04.313 12909-12909/com.perinote.perinote D/Perinote: CF add: parent 7, child 23
BTBP animateOpenChild: 1
05-01 13:26:04.338 12909-12909/com.perinote.perinote D/Perinote: IVH onDraw: tag 0, LOADED, IMG_20171007_181223.jpg
例如,在第 2 行,您可以看到相同的前缀 SG(BI),但缺少前面的时间戳和进程信息.关于为什么会发生这种情况的任何想法?
For example, on the 2nd line, you can see the same prefix SG(BI) but the preceding timestamp and process info is missing. Any ideas on why this is happening?
如果我在进程窗口中运行 logcat,则不会发生这种情况 - 所有行都具有正确的前缀信息.
If I run logcat in a process window, this doesn't happen - all lines have the correct prefix info.
推荐答案
不是故意的,bug已经在3.2修复
it's not intentional, bug has been fixed in 3.2
这种行为改变是无意的,我恢复了它.修复将在 3.2 -issuetracker.google.com
在 canary 频道中将 android studio 更新到 3.2 build 15 或等待它在稳定频道上发布
update android studio to 3.2 build 15 in the canary channel or wait for it to drop on the stable channel
这篇关于android studio logcat 删除日期、进程信息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!