android studio logcat drops date, process info

我与影子孤独终老i 提交于 2019-12-30 08:28:22

问题


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

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?

If I run logcat in a process window, this doesn't happen - all lines have the correct prefix info.


回答1:


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

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

update android studio to 3.2 build 15 in the canary channel or wait for it to drop on the stable channel



来源:https://stackoverflow.com/questions/50123492/android-studio-logcat-drops-date-process-info

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