Android Studio Logcat删除日期,流程信息 [英] android studio logcat drops date, process info

查看:380
本文介绍了Android Studio Logcat删除日期,流程信息的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

最近一次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

例如,在第二行上,您可以看到相同的前缀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.

推荐答案

这不是故意的,错误已在3.2中修复

it's not intentional, bug has been fixed in 3.2

这种行为上的变化是无意的,我已将其恢复.解决方法 将在3.2 -issuetracker.google.com

This change in behavior was inadvertent and I reverted it. The fix will go out in 3.2 - issuetracker.google.com

在金丝雀频道中将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删除日期,流程信息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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