多余的日志调试Android应用程序

时间:2017-07-04 03:44:51

标签: android debugging logging

最近我在Android OS 7.0上获得了一款新的Android设备 - 中兴BLADE A520。 我通过usb将它连接到adb并启动了我的应用程序。然后我看到很多多余的日志出现在我的Android监视器中,并且经常非常快速。 这些日志会妨碍我舒适的开发和调试,所以我想摆脱它们。请告诉我,我该怎么办?附上烦人日志的典型片段:

    07-04 10:39:37.470 15873-15880/bz.molodost.fire I/art: Enter while loop.

                                                       [ 07-04 10:39:37.482  2011: 2011 I/         ]
                                                       service_to_fd shell:cat /proc/stat


                                                       [ 07-04 10:39:37.500  2011: 2011 I/         ]
                                                       subprocess creation successful: local_socket_fd=23, pid=18218

                                                       [ 07-04 10:39:37.522  2011:18215 I/         ]
                                                       post waitpid (pid=18214) status=0000

                                                       [ 07-04 10:39:37.529  2011:18219 I/         ]
                                                       post waitpid (pid=18218) status=0000
07-04 10:39:37.971 15873-15880/bz.molodost.fire I/art: Enter while loop.

                                                       [ 07-04 10:39:38.040  2011: 2011 I/         ]
                                                       service_to_fd shell:cat /proc/net/xt_qtaguid/stats | grep 10183


                                                       [ 07-04 10:39:38.043  2011: 2011 I/         ]
                                                       subprocess creation successful: local_socket_fd=23, pid=18220

                                                       [ 07-04 10:39:38.058  2011: 2011 I/         ]
                                                       service_to_fd shell:cat /proc/15873/stat


                                                       [ 07-04 10:39:38.061  2011: 2011 I/         ]
                                                       subprocess creation successful: local_socket_fd=24, pid=18222

                                                       [ 07-04 10:39:38.079  2011:18225 I/         ]
                                                       post waitpid (pid=18222) status=0000

                                                       [ 07-04 10:39:38.081  2011:18221 I/         ]
                                                       post waitpid (pid=18220) status=0000

                                                       [ 07-04 10:39:38.094  2011: 2011 I/         ]
                                                       service_to_fd shell:cat /proc/stat


                                                       [ 07-04 10:39:38.097  2011: 2011 I/         ]
                                                       subprocess creation successful: local_socket_fd=23, pid=18226

                                                       [ 07-04 10:39:38.115  2011:18227 I/         ]
                                                       post waitpid (pid=18226) status=0000
07-04 10:39:38.471 15873-15880/bz.molodost.fire I/art: Enter while loop.

                                                       [ 07-04 10:39:38.601  2011: 2011 I/         ]
                                                       service_to_fd shell:cat /proc/net/xt_qtaguid/stats | grep 10183


                                                       [ 07-04 10:39:38.609  2011: 2011 I/         ]
                                                       subprocess creation successful: local_socket_fd=23, pid=18228

                                                       [ 07-04 10:39:38.629  2011: 2011 I/         ]
                                                       service_to_fd shell:cat /proc/15873/stat


                                                       [ 07-04 10:39:38.634  2011: 2011 I/         ]
                                                       subprocess creation successful: local_socket_fd=24, pid=18230

                                                       [ 07-04 10:39:38.693  2011:18233 I/         ]
                                                       post waitpid (pid=18230) status=0000

                                                       [ 07-04 10:39:38.697  2011:18229 I/         ]
                                                       post waitpid (pid=18228) status=0000

                                                       [ 07-04 10:39:38.720  2011: 2011 I/         ]
                                                       service_to_fd shell:cat /proc/stat


                                                       [ 07-04 10:39:38.723  2011: 2011 I/         ]
                                                       subprocess creation successful: local_socket_fd=23, pid=18234

                                                       [ 07-04 10:39:38.758  2011:18235 I/         ]
                                                       post waitpid (pid=18234) status=0000

我有另外5台设备,但没有一台设备没有向我发送这些多余的日志

0 个答案:

没有答案