在Android的logcat的一些日志信息丢失。如何看到所有的日志猫细节/数据或保存在一个文件? [英] In android logcat some of the log information missing .How to see all log cat details/data or save in a file?

查看:3956
本文介绍了在Android的logcat的一些日志信息丢失。如何看到所有的日志猫细节/数据或保存在一个文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

结果进出口新的Andr​​oid系统。
结果林开发一些Android应用程序。
结果,它发送/接收数据到/从服务器
结果我显示了从服务器,在日志猫收到的数据。
结果,该数据被接收处理它的应用程序。
结果但在日志猫


Im new to android.
Im developing some android app.
It sends/receive the data to/from server
I shows the the data from server which is received in log cat.
The data is received the application processed it.
But in log cat

显示以下

?:??: W/?(?): --------- beginning of /dev/log/system
08-01 10:55:33.676: I/KeyInputQueue(176): Enqueueing touch event0
08-01 10:55:33.676: I/WindowManager(176): Read next event 0
08-01 10:55:33.676: I/WindowManager(176): Delivering pointer 0 > Window{4a7c2ad0 InputMethod paused=false}
08-01 10:55:33.823: I/KeyInputQueue(176): Enqueueing touch event1
08-01 10:55:33.833: I/WindowManager(176): Read next event 1
08-01 10:55:33.833: I/WindowManager(176): Delivering pointer 1 > Window{4a7c2ad0 InputMethod paused=false}
08-01 10:55:34.053: D/BatteryService(176): update start
08-01 10:55:34.053: D/BatteryService(176): update start
08-01 10:55:34.053: D/BatteryService(176): update st

在第一行之前logcat中的数据?:??:W /?(?):---------开始的/ dev /日志/系统不来的logcat或某些数据消除在logcat中。

The data in logcat before the first line " ?:??: W/?(?): --------- beginning of /dev/log/system" is not come logcat or some data eliminated in logcat.

结果我不知道为什么会发生在logcat的数据/线被删除。我想不通的。有些
请给你的想法如何得到完整的logcat数据


I does not know why it happens .Some of the logcat data /lines is deleted .I cannot figure out
Please give your ideas how to get the complete logcat data

推荐答案

结果我找到解决方案。
结果在Eclipse Android的存在是logcat.That缓冲区访问/由如下因素的过程进行编辑。


I find the solution.
In eclipse for android there is buffer for logcat.That is accessed/edited by the folowing process.

在Eclipse中选择以下菜单:窗口 - > preferences然后选择从左边的选项卡列表中的Android。然后展开那么的Android选项卡中选择LogCat中,然后看/编辑文本字段(logcat的消息的最大数量为缓冲区)。

Select the following menu in eclipse: Windows->Preferences then select "Android" from list in left tab. Then expand the "Android" tab then select the "LogCat" then see/edit the text field ("Maximum number of logcat messages to buffer").

结果如果logcat的消息比缓冲区大小则日食只显示数据的某些部分/日志猫。
结果所以我写这我已经摆在logcat中写在文本文件中的消息。


If the logcat message is larger than the buffer size then the eclipse shows only the some portion of data/log cat.
So i write the messages which i already put in logcat is written in the text file.

这篇关于在Android的logcat的一些日志信息丢失。如何看到所有的日志猫细节/数据或保存在一个文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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