logcat的continously显示的消息 [英] Logcat continously shows messages

查看:163
本文介绍了logcat的continously显示的消息的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我不知道什么是错的。我logcat中一直困扰我两天。当设备连接到测试中,logcat的不断给出的消息,虽然我不跑我的应用程序。如果我跑我的应用程序,我无法找到我的应用程序日志中这样的数据量巨大。有人建议我为了避免这一点,所以我只能查看我的应用程序的日志?下面是一个continously流动的logcat中的流动。我与HTC的测试。

  9月4日至9日:27:10.007:D / dalvikvm(843):GC_EXPLICIT释放128K,43%免费3530K / 6151K,外部0K / 0K,暂停142ms
9月4日至9日:27:10.027:I / LogFilter(843):找不到强制性的主机HTTP标头。
9月4日至9日:27:10.027:I / LogService(843):2013年4月9日9时27分十秒127.0.0.1 - 127.0.0.1 8182 POST /库/办/总结 - 200 64 53 1304的http://空值 - -
9月4日至9日:27:10.037:D /尼古拉(843):HttpServerHelper犯
9月4日至9日:27:10.037:D /尼古拉(843):1 sendResponse
9月4日至9日:27:10.057:D /尼古拉(843):writeResponseBody
9月4日至9日:27:10.238:D / dalvikvm(843):GC_EXPLICIT释放50K,43%免费3522K / 6151K,外部0K / 0K,暂停158ms
9月4日至9日:27:10.408:D / dalvikvm(843):GC_EXPLICIT释放4K,43%免费3537K / 6151K,外部0K / 0K,暂停140ms的
9月4日至9日:27:10.408:I / LogFilter(843):找不到强制性的主机HTTP标头。
9月4日至9日:27:10.468:D / com.fd.httpd(843):SD卡手机类型= 1!
9月4日至9日:27:10.478:D / com.fd.httpd(843):EMMC手机类型= 1!
9月4日至9日:27:10.498:I / com.fd.httpd(843):1365479830502 - 进入查询。
9月4日至9日:27:10.558:I / LogService(843):2013年4月9日9时27分十秒127.0.0.1 - 127.0.0.1 8182 GET /信息/ - 200 1471 0 513的http://空 - -
9月4日至9日:27:10.568:D /尼古拉(843):HttpServerHelper犯
9月4日至9日:27:10.568:I /服务器(843):标准头杂的加入是不鼓励作为的Restlet API的未来版本将直接支持它。
9月4日至9日:27:10.578:W /服务器(843):标准头缓存控制的加入是不允许的。请的Restlet API中使用等效属性。
9月4日至9日:27:10.578:W /服务器(843):标准头过期的加入是不允许的。请的Restlet API中使用等效属性。
9月4日至9日:27:10.578:D /尼古拉(843):1 sendResponse
9月4日至9日:27:10.578:D /尼古拉(843):writeResponseBody
9月4日至9日:27:10.598:I / com.fd.httpd(843):1365479830607 - 离开查询。
9月4日至9日:27:10.598:I / com.fd.httpd(843):总大小= 0
9月4日至9日:27:10.608:I / com.fd.httpd(843):线程stateRUNNABLE
9月4日至9日:27:10.688:I / LogService(843):2013年4月9日9时27分十秒127.0.0.1 - 127.0.0.1 8182 POST /库/办/总结 - 200 64 53 252的http://空值 - -
9月4日至9日:27:10.688:D /尼古拉(843):HttpServerHelper犯
9月4日至9日:27:10.688:D /尼古拉(843):1 sendResponse
9月4日至9日:27:10.698:D /尼古拉(843):writeResponseBody
9月4日至9日:27:10.838:D / dalvikvm(843):GC_EXPLICIT释放156K,43%免费3525K / 6151K,外部0K / 0K,暂停124ms
9月4日至9日:27:10.848:I / LogFilter(843):找不到强制性的主机HTTP标头。
9月4日至9日:27:10.898:I / com.fd.httpd(843):1365479830906 - 进入查询。
9月4日至9日:27:10.958:I / com.fd.httpd(843):1365479830966 - 离开查询。
9月4日至9日:27:10.958:I / com.fd.httpd(843):总大小= 0
9月4日至9日:27:10.958:I / com.fd.httpd(843):线程stateRUNNABLE
9月4日至9日:27:11.048:I / LogService(843):2013年4月9日9点27分11秒127.0.0.1 - 127.0.0.1 8182 POST /库/办/总结 - 200 64 53 171的http://空值 - -
9月4日至9日:27:11.048:D /尼古拉(843):HttpServerHelper犯
9月4日至9日:27:11.048:D /尼古拉(843):1 sendResponse
9月4日至9日:27:110.58:D /尼古拉(843):writeResponseBody
9月4日至9日:27:11.199:D / dalvikvm(843):GC_EXPLICIT释放93K,43%免费3530K / 6151K,外部0K / 0K,暂停133ms
9月4日至9日:27:11.209:I / LogFilter(843):找不到强制性的主机HTTP标头。
9月4日至9日:27:11.249:I / com.fd.httpd(843):1365479831256 - 进入查询。
9月4日至9日:27:11.319:I / com.fd.httpd(843):1365479831324 - 离开查询。
9月4日至9日:27:11.319:I / com.fd.httpd(843):总大小= 0
9月4日至9日:27:11.319:I / com.fd.httpd(843):线程stateRUNNABLE
9月4日至9日:27:11.349:I / LogService(843):2013年4月9日9点27分11秒127.0.0.1 - 127.0.0.1 8182 POST /库/办/总结 - 200 64 53 119的http://空值 - -
9月4日至9日:27:11.349:D /尼古拉(843):HttpServerHelper犯
9月4日至9日:27:11.349:D /尼古拉(843):1 sendResponse
9月4日至9日:27:11.359:D /尼古拉(843):writeResponseBody
9月4日至9日:27:11.519:D / dalvikvm(843):GC_EXPLICIT释放103K,43%免费3522K / 6151K,外部0K / 0K,暂停147ms
9月4日至9日:27:11.539:I / LogFilter(843):找不到强制性的主机HTTP标头。
9月4日至9日:27:11.569:I / com.fd.httpd(843):1365479831577 - 进入查询。
9月4日至9日:27:11.649:I / com.fd.httpd(843):1365479831651 - 离开查询。
9月4日至9日:27:11.649:I / com.fd.httpd(843):总大小= 0
9月4日至9日:27:11.649:I / com.fd.httpd(843):线程stateRUNNABLE
9月4日至9日:27:11.799:D / dalvikvm(843):GC_EXPLICIT释放71K,43%免费3529K / 6151K,外部0K / 0K,暂停139ms
9月4日至9日:27:11.809:I / LogService(843):2013年4月9日9点27分11秒127.0.0.1 - 127.0.0.1 8182 POST /库/办/总结 - 200 64 53 261的http://空值 - -
9月4日至9日:27:11.819:I / LogFilter(843):找不到强制性的主机HTTP标头。
9月4日至9日:27:11.829:D /尼古拉(843):HttpServerHelper犯
9月4日至9日:27:11.839:D /尼古拉(843):1 sendResponse
9月4日至9日:27:11.849:D /尼古拉(843):writeResponseBody
9月4日至9日:27:11.989:D / dalvikvm(843):GC_EXPLICIT释放45K,43%免费3526K / 6151K,外部0K / 0K,暂停123ms
9月4日至9日:27:12.119:D / dalvikvm(843):GC_EXPLICIT释放1K,43%免费3525K / 6151K,外部0K / 0K,暂停115ms
9月4日至9日:27:12.129:I / LogFilter(843):找不到强制性的主机HTTP标头。
9月4日至9日:27:12.180:D / com.fd.httpd(843):SD卡手机类型= 1!
9月4日至9日:27:12.190:D / com.fd.httpd(843):EMMC手机类型= 1!
9月4日至9日:27:12.210:I / com.fd.httpd(843):1365479832225 - 进入查询。
9月4日至9日:27:12.260:I / LogService(843):2013年4月9日9时27分12秒127.0.0.1 - 127.0.0.1 8182 GET /信息/ - 200 1471 0 429的http://空 - -
9月4日至9日:27:12.260:D /尼古拉(843):HttpServerHelper犯
9月4日至9日:27:12.270:I /服务器(843):标准头杂的加入是不鼓励作为的Restlet API的未来版本将直接支持它。
9月4日至9日:27:12.270:W /服务器(843):标准头缓存控制的加入是不允许的。请的Restlet API中使用等效属性。
9月4日至9日:27:12.270:W /服务器(843):标准头过期的加入是不允许的。请的Restlet API中使用等效属性。
9月4日至9日:27:12.270:D /尼古拉(843):1 sendResponse
9月4日至9日:27:12.280:D /尼古拉(843):writeResponseBody
9月4日至9日:27:12.430:I / com.fd.httpd(843):1365479832442 - 离开查询。
9月4日至9日:27:12.430:I / com.fd.httpd(843):总大小= 0
9月4日至9日:27:12.430:I / com.fd.httpd(843):线程stateRUNNABLE
9月4日至9日:27:12.560:I / LogService(843):2013年4月9日9时27分12秒127.0.0.1 - 127.0.0.1 8182 POST /库/办/总结 - 200 64 53 403的http://空值 - -
9月4日至9日:27:12.570:D /尼古拉(843):HttpServerHelper犯
9月4日至9日:27:12.570:D /尼古拉(843):1 sendResponse
9月4日至9日:27:12.580:D /尼古拉(843):writeResponseBody
9月4日至9日:27:12.750:D / dalvikvm(843):GC_EXPLICIT释放152K,43%免费3535K / 6151K,外部0K / 0K,暂停159ms
9月4日至9日:27:12.770:I / LogFilter(843):找不到强制性的主机HTTP标头。
9月4日至9日:27:12.810:I / com.fd.httpd(843):1365479832825 - 进入查询。
9月4日至9日:27:12.940:I / com.fd.httpd(843):1365479832950 - 离开查询。
9月4日至9日:27:12.940:I / com.fd.httpd(843):总大小= 0
9月4日至9日:27:12.940:I / com.fd.httpd(843):线程stateRUNNABLE
9月4日至9日:27:13.070:I / LogService(843):2013年4月9日9时27分13秒127.0.0.1 - 127.0.0.1 8182 POST /库/办/总结 - 200 64 53 289的http://空值 - -
9月4日至9日:27:13.080:D /尼古拉(843):HttpServerHelper犯
9月4日至9日:27:13.080:D /尼古拉(843):1 sendResponse
9月4日至9日:27:13.090:D /尼古拉(843):writeResponseBody
9月4日至9日:27:13.261:D / dalvikvm(843):GC_EXPLICIT释放97K,43%免费3533K / 6151K,外部0K / 0K,暂停163ms
9月4日至9日:27:132.71:I / LogFilter(843):找不到强制性的主机HTTP标头。
9月4日至9日:27:13.441:D / dalvikvm(843):GC_EXPLICIT释放34K,43%免费3525K / 6151K,外部0K / 0K,暂停127ms
9月4日至9日:27:13.461:I / LogFilter(843):找不到强制性的主机HTTP标头。
9月4日至9日:27:13.481:I / com.fd.httpd(843):1365479833498 - 进入查询。
9月4日至9日:27:13.631:D / dalvikvm(843):GC_EXPLICIT释放63K,43%免费3536K / 6151K,外部0K / 0K,暂停为125ms
9月4日至9日:27:13.681:D / com.fd.httpd(843):SD卡手机类型= 1!
9月4日至9日:27:13.691:D / com.fd.httpd(843):EMMC手机类型= 1!
9月4日至9日:27:13.731:I / com.fd.httpd(843):1365479833746 - 离开查询。
9月4日至9日:27:13.731:I / com.fd.httpd(843):总大小= 0
9月4日至9日:27:13.731:I / com.fd.httpd(843):线程stateRUNNABLE
9月4日至9日:27:13.751:I / LogService(843):2013年4月9日9时27分13秒127.0.0.1 - 127.0.0.1 8182 POST /库/办/总结 - 200 64 53 461的http://空值 - -
9月4日至9日:27:13.771:D /尼古拉(843):HttpServerHelper犯
9月4日至9日:27:13.771:D /尼古拉(843):1 sendResponse
9月4日至9日:27:13.791:D /尼古拉(843):writeResponseBody
9月4日至9日:27:13.791:I / LogService(843):2013年4月9日9时27分13秒127.0.0.1 - 127.0.0.1 8182 GET /信息/ - 200 1471 0 293的http://空 - -
9月4日至9日:27:13.791:D /尼古拉(843):HttpServerHelper犯
9月4日至9日:27:13.801:I /服务器(843):标准头杂的加入是不鼓励作为的Restlet API的未来版本将直接支持它。
9月4日至9日:27:13.801:W /服务器(843):标准头缓存控制的加入是不允许的。请的Restlet API中使用等效属性。
9月4日至9日:27:13.941:D / dalvikvm(843):GC_EXPLICIT释放70K,43%免费3541K / 6151K,外部0K / 0K,暂停134ms
9月4日至9日:27:13.941:W /服务器(843):标准头过期的加入是不允许的。请的Restlet API中使用等效属性。
9月4日至9日:27:13.941:D /尼古拉(843):1 sendResponse
9月4日至9日:27:13.961:I / LogFilter(843):找不到强制性的主机HTTP标头。
9月4日至9日:27:13.961:D /尼古拉(843):writeResponseBody
9月4日至9日:27:14.011:I / com.fd.httpd(843):1365479834023 - 进入查询。
9月4日至9日:27:14.081:I / com.fd.httpd(843):1365479834094 - 离开查询。
9月4日至9日:27:14.081:I / com.fd.httpd(843):总大小= 0
9月4日至9日:27:14.081:I / com.fd.httpd(843):线程stateRUNNABLE
9月4日至9日:27:14.101:I / com.fd.httpd(843):1365479834113 - 离开applyBatch。
9月4日至9日:27:14.111:I / LogService(843):2013年4月9日9点27分14秒127.0.0.1 - 127.0.0.1 8182 POST /库/办/总结 - 200 64 53 125的http://空值 - -
9月4日至9日:27:14.121:D /尼古拉(843):HttpServerHelper犯
9月4日至9日:27:14.121:D /尼古拉(843):1 sendResponse
9月4日至9日:27:14.131:D /尼古拉(843):writeResponseBody
9月4日至9日:27:14.262:D / dalvikvm(843):GC_EXPLICIT释放140K,43%免费3512K / 6151K,外部0K / 0K,暂停119ms
9月4日至9日:27:14.272:I / LogFilter(843):找不到强制性的主机HTTP标头。
9月4日至9日:27:14.332:I / com.fd.httpd(843):1365479834330 - 进入查询。
9月4日至9日:27:14.392:I / com.fd.httpd(843):1365479834406 - 离开查询。
9月4日至9日:27:14.392:I / com.fd.httpd(843):总大小= 0
9月4日至9日:27:14.392:I / com.fd.httpd(843):线程stateRUNNABLE
9月4日至9日:27:14.422:I / LogService(843):2013年4月9日9点27分14秒127.0.0.1 - 127.0.0.1 8182 POST /库/办/总结 - 200 64 53 115的http://空值 - -
9月4日至9日:27:14.422:D /尼古拉(843):HttpServerHelper犯
9月4日至9日:27:14.422:D /尼古拉(843):1 sendResponse
9月4日至9日:27:14.432:D /尼古拉(843):writeResponseBody
9月4日至9日:27:14.562:D / dalvikvm(843):GC_EXPLICIT释放95K,43%免费3517K / 6151K,外部0K / 0K,暂停119ms
9月4日至9日:27:14.572:I / LogFilter(843):找不到强制性的主机HTTP标头。
9月4日至9日:27:14.632:I / com.fd.httpd(843):1365479834644 - 进入查询。
9月4日至9日:27:14.682:I / com.fd.httpd(843):1365479834693 - 输入applyBatch。
9月4日至9日:27:14.712:I / com.fd.httpd(843):1365479834728 - 离开查询。
9月4日至9日:27:14.722:I / com.fd.httpd(843):总大小= 0
9月4日至9日:27:14.722:I / com.fd.httpd(843):线程stateRUNNABLE
9月4日至9日:27:14.732:I / LogService(843):2013年4月9日9点27分14秒127.0.0.1 - 127.0.0.1 8182 POST /库/办/总结 - 200 64 53 149的http://空值 - -
9月4日至9日:27:14.742:D /尼古拉(843):HttpServerHelper犯
9月4日至9日:27:14.752:D /尼古拉(843):1 sendResponse
9月4日至9日:27:14.762:D /尼古拉(843):writeResponseBody
9月4日至9日:27:14.912:D / dalvikvm(843):GC_EXPLICIT释放103K,43%免费3517K / 6151K,外部0K / 0K,暂停144ms
9月4日至9日:27:14.932:I / LogFilter(843):找不到强制性的主机HTTP标头。
9月4日至9日:27:14.962:I / com.fd.httpd(843):1365479834978 - 进入查询。
9月4日至9日:27:15.112:D / dalvikvm(843):GC_EXPLICIT释放68K,43%免费3523K / 6151K,外部0K / 0K,暂停136ms


解决方案

这方法是查看只有特定的日志,不以避免不必要的日志在未来logcat中


  

亚行外壳的logcat -s D /尼古拉斯



  

亚行外壳的logcat | grep的D /尼古拉斯


比如你只想查看日志标记尼古拉斯

I don't know what's wrong. My logcat has been troubling me for two days. When device is connected to test, the logcat continuously gives messages though I don't run my app. If I run my app, I am unable to find my app logs in such a huge amount of data. Can someone suggest me to avoid this and so that I can only view my application's logs? Below is the logcat's flow which continously flows. I am testing with htc.

04-09 09:27:10.007: D/dalvikvm(843): GC_EXPLICIT freed 128K, 43% free 3530K/6151K, external 0K/0K, paused 142ms
04-09 09:27:10.027: I/LogFilter(843): Couldn't find the mandatory "Host" HTTP header.
04-09 09:27:10.027: I/LogService(843): 2013-04-09   09:27:10    127.0.0.1   -   127.0.0.1   8182    POST    /library/do/summary -   200 64  53  1304    http://null -   -
04-09 09:27:10.037: D/nicolas(843): HttpServerHelper commit
04-09 09:27:10.037: D/nicolas(843): sendResponse 1
04-09 09:27:10.057: D/nicolas(843): writeResponseBody
04-09 09:27:10.238: D/dalvikvm(843): GC_EXPLICIT freed 50K, 43% free 3522K/6151K, external 0K/0K, paused 158ms
04-09 09:27:10.408: D/dalvikvm(843): GC_EXPLICIT freed 4K, 43% free 3537K/6151K, external 0K/0K, paused 140ms
04-09 09:27:10.408: I/LogFilter(843): Couldn't find the mandatory "Host" HTTP header.
04-09 09:27:10.468: D/com.fd.httpd(843): sdcard phone type != 1
04-09 09:27:10.478: D/com.fd.httpd(843): emmc phone type != 1
04-09 09:27:10.498: I/com.fd.httpd(843): 1365479830502--enter query.
04-09 09:27:10.558: I/LogService(843): 2013-04-09   09:27:10    127.0.0.1   -   127.0.0.1   8182    GET /info/  -   200 1471    0   513 http://null -   -
04-09 09:27:10.568: D/nicolas(843): HttpServerHelper commit
04-09 09:27:10.568: I/Server(843): Addition of the standard header "pragma" is discouraged as a future versions of the Restlet API will directly support it.
04-09 09:27:10.578: W/Server(843): Addition of the standard header "cache-control" is not allowed. Please use the equivalent property in the Restlet API.
04-09 09:27:10.578: W/Server(843): Addition of the standard header "expires" is not allowed. Please use the equivalent property in the Restlet API.
04-09 09:27:10.578: D/nicolas(843): sendResponse 1
04-09 09:27:10.578: D/nicolas(843): writeResponseBody
04-09 09:27:10.598: I/com.fd.httpd(843): 1365479830607--leave query.
04-09 09:27:10.598: I/com.fd.httpd(843): sum size = 0
04-09 09:27:10.608: I/com.fd.httpd(843): Thread stateRUNNABLE
04-09 09:27:10.688: I/LogService(843): 2013-04-09   09:27:10    127.0.0.1   -   127.0.0.1   8182    POST    /library/do/summary -   200 64  53  252 http://null -   -
04-09 09:27:10.688: D/nicolas(843): HttpServerHelper commit
04-09 09:27:10.688: D/nicolas(843): sendResponse 1
04-09 09:27:10.698: D/nicolas(843): writeResponseBody
04-09 09:27:10.838: D/dalvikvm(843): GC_EXPLICIT freed 156K, 43% free 3525K/6151K, external 0K/0K, paused 124ms
04-09 09:27:10.848: I/LogFilter(843): Couldn't find the mandatory "Host" HTTP header.
04-09 09:27:10.898: I/com.fd.httpd(843): 1365479830906--enter query.
04-09 09:27:10.958: I/com.fd.httpd(843): 1365479830966--leave query.
04-09 09:27:10.958: I/com.fd.httpd(843): sum size = 0
04-09 09:27:10.958: I/com.fd.httpd(843): Thread stateRUNNABLE
04-09 09:27:11.048: I/LogService(843): 2013-04-09   09:27:11    127.0.0.1   -   127.0.0.1   8182    POST    /library/do/summary -   200 64  53  171 http://null -   -
04-09 09:27:11.048: D/nicolas(843): HttpServerHelper commit
04-09 09:27:11.048: D/nicolas(843): sendResponse 1
04-09 09:27:11.058: D/nicolas(843): writeResponseBody
04-09 09:27:11.199: D/dalvikvm(843): GC_EXPLICIT freed 93K, 43% free 3530K/6151K, external 0K/0K, paused 133ms
04-09 09:27:11.209: I/LogFilter(843): Couldn't find the mandatory "Host" HTTP header.
04-09 09:27:11.249: I/com.fd.httpd(843): 1365479831256--enter query.
04-09 09:27:11.319: I/com.fd.httpd(843): 1365479831324--leave query.
04-09 09:27:11.319: I/com.fd.httpd(843): sum size = 0
04-09 09:27:11.319: I/com.fd.httpd(843): Thread stateRUNNABLE
04-09 09:27:11.349: I/LogService(843): 2013-04-09   09:27:11    127.0.0.1   -   127.0.0.1   8182    POST    /library/do/summary -   200 64  53  119 http://null -   -
04-09 09:27:11.349: D/nicolas(843): HttpServerHelper commit
04-09 09:27:11.349: D/nicolas(843): sendResponse 1
04-09 09:27:11.359: D/nicolas(843): writeResponseBody
04-09 09:27:11.519: D/dalvikvm(843): GC_EXPLICIT freed 103K, 43% free 3522K/6151K, external 0K/0K, paused 147ms
04-09 09:27:11.539: I/LogFilter(843): Couldn't find the mandatory "Host" HTTP header.
04-09 09:27:11.569: I/com.fd.httpd(843): 1365479831577--enter query.
04-09 09:27:11.649: I/com.fd.httpd(843): 1365479831651--leave query.
04-09 09:27:11.649: I/com.fd.httpd(843): sum size = 0
04-09 09:27:11.649: I/com.fd.httpd(843): Thread stateRUNNABLE
04-09 09:27:11.799: D/dalvikvm(843): GC_EXPLICIT freed 71K, 43% free 3529K/6151K, external 0K/0K, paused 139ms
04-09 09:27:11.809: I/LogService(843): 2013-04-09   09:27:11    127.0.0.1   -   127.0.0.1   8182    POST    /library/do/summary -   200 64  53  261 http://null -   -
04-09 09:27:11.819: I/LogFilter(843): Couldn't find the mandatory "Host" HTTP header.
04-09 09:27:11.829: D/nicolas(843): HttpServerHelper commit
04-09 09:27:11.839: D/nicolas(843): sendResponse 1
04-09 09:27:11.849: D/nicolas(843): writeResponseBody
04-09 09:27:11.989: D/dalvikvm(843): GC_EXPLICIT freed 45K, 43% free 3526K/6151K, external 0K/0K, paused 123ms
04-09 09:27:12.119: D/dalvikvm(843): GC_EXPLICIT freed 1K, 43% free 3525K/6151K, external 0K/0K, paused 115ms
04-09 09:27:12.129: I/LogFilter(843): Couldn't find the mandatory "Host" HTTP header.
04-09 09:27:12.180: D/com.fd.httpd(843): sdcard phone type != 1
04-09 09:27:12.190: D/com.fd.httpd(843): emmc phone type != 1
04-09 09:27:12.210: I/com.fd.httpd(843): 1365479832225--enter query.
04-09 09:27:12.260: I/LogService(843): 2013-04-09   09:27:12    127.0.0.1   -   127.0.0.1   8182    GET /info/  -   200 1471    0   429 http://null -   -
04-09 09:27:12.260: D/nicolas(843): HttpServerHelper commit
04-09 09:27:12.270: I/Server(843): Addition of the standard header "pragma" is discouraged as a future versions of the Restlet API will directly support it.
04-09 09:27:12.270: W/Server(843): Addition of the standard header "cache-control" is not allowed. Please use the equivalent property in the Restlet API.
04-09 09:27:12.270: W/Server(843): Addition of the standard header "expires" is not allowed. Please use the equivalent property in the Restlet API.
04-09 09:27:12.270: D/nicolas(843): sendResponse 1
04-09 09:27:12.280: D/nicolas(843): writeResponseBody
04-09 09:27:12.430: I/com.fd.httpd(843): 1365479832442--leave query.
04-09 09:27:12.430: I/com.fd.httpd(843): sum size = 0
04-09 09:27:12.430: I/com.fd.httpd(843): Thread stateRUNNABLE
04-09 09:27:12.560: I/LogService(843): 2013-04-09   09:27:12    127.0.0.1   -   127.0.0.1   8182    POST    /library/do/summary -   200 64  53  403 http://null -   -
04-09 09:27:12.570: D/nicolas(843): HttpServerHelper commit
04-09 09:27:12.570: D/nicolas(843): sendResponse 1
04-09 09:27:12.580: D/nicolas(843): writeResponseBody
04-09 09:27:12.750: D/dalvikvm(843): GC_EXPLICIT freed 152K, 43% free 3535K/6151K, external 0K/0K, paused 159ms
04-09 09:27:12.770: I/LogFilter(843): Couldn't find the mandatory "Host" HTTP header.
04-09 09:27:12.810: I/com.fd.httpd(843): 1365479832825--enter query.
04-09 09:27:12.940: I/com.fd.httpd(843): 1365479832950--leave query.
04-09 09:27:12.940: I/com.fd.httpd(843): sum size = 0
04-09 09:27:12.940: I/com.fd.httpd(843): Thread stateRUNNABLE
04-09 09:27:13.070: I/LogService(843): 2013-04-09   09:27:13    127.0.0.1   -   127.0.0.1   8182    POST    /library/do/summary -   200 64  53  289 http://null -   -
04-09 09:27:13.080: D/nicolas(843): HttpServerHelper commit
04-09 09:27:13.080: D/nicolas(843): sendResponse 1
04-09 09:27:13.090: D/nicolas(843): writeResponseBody
04-09 09:27:13.261: D/dalvikvm(843): GC_EXPLICIT freed 97K, 43% free 3533K/6151K, external 0K/0K, paused 163ms
04-09 09:27:13.271: I/LogFilter(843): Couldn't find the mandatory "Host" HTTP header.
04-09 09:27:13.441: D/dalvikvm(843): GC_EXPLICIT freed 34K, 43% free 3525K/6151K, external 0K/0K, paused 127ms
04-09 09:27:13.461: I/LogFilter(843): Couldn't find the mandatory "Host" HTTP header.
04-09 09:27:13.481: I/com.fd.httpd(843): 1365479833498--enter query.
04-09 09:27:13.631: D/dalvikvm(843): GC_EXPLICIT freed 63K, 43% free 3536K/6151K, external 0K/0K, paused 125ms
04-09 09:27:13.681: D/com.fd.httpd(843): sdcard phone type != 1
04-09 09:27:13.691: D/com.fd.httpd(843): emmc phone type != 1
04-09 09:27:13.731: I/com.fd.httpd(843): 1365479833746--leave query.
04-09 09:27:13.731: I/com.fd.httpd(843): sum size = 0
04-09 09:27:13.731: I/com.fd.httpd(843): Thread stateRUNNABLE
04-09 09:27:13.751: I/LogService(843): 2013-04-09   09:27:13    127.0.0.1   -   127.0.0.1   8182    POST    /library/do/summary -   200 64  53  461 http://null -   -
04-09 09:27:13.771: D/nicolas(843): HttpServerHelper commit
04-09 09:27:13.771: D/nicolas(843): sendResponse 1
04-09 09:27:13.791: D/nicolas(843): writeResponseBody
04-09 09:27:13.791: I/LogService(843): 2013-04-09   09:27:13    127.0.0.1   -   127.0.0.1   8182    GET /info/  -   200 1471    0   293 http://null -   -
04-09 09:27:13.791: D/nicolas(843): HttpServerHelper commit
04-09 09:27:13.801: I/Server(843): Addition of the standard header "pragma" is discouraged as a future versions of the Restlet API will directly support it.
04-09 09:27:13.801: W/Server(843): Addition of the standard header "cache-control" is not allowed. Please use the equivalent property in the Restlet API.
04-09 09:27:13.941: D/dalvikvm(843): GC_EXPLICIT freed 70K, 43% free 3541K/6151K, external 0K/0K, paused 134ms
04-09 09:27:13.941: W/Server(843): Addition of the standard header "expires" is not allowed. Please use the equivalent property in the Restlet API.
04-09 09:27:13.941: D/nicolas(843): sendResponse 1
04-09 09:27:13.961: I/LogFilter(843): Couldn't find the mandatory "Host" HTTP header.
04-09 09:27:13.961: D/nicolas(843): writeResponseBody
04-09 09:27:14.011: I/com.fd.httpd(843): 1365479834023--enter query.
04-09 09:27:14.081: I/com.fd.httpd(843): 1365479834094--leave query.
04-09 09:27:14.081: I/com.fd.httpd(843): sum size = 0
04-09 09:27:14.081: I/com.fd.httpd(843): Thread stateRUNNABLE
04-09 09:27:14.101: I/com.fd.httpd(843): 1365479834113--leave applyBatch.
04-09 09:27:14.111: I/LogService(843): 2013-04-09   09:27:14    127.0.0.1   -   127.0.0.1   8182    POST    /library/do/summary -   200 64  53  125 http://null -   -
04-09 09:27:14.121: D/nicolas(843): HttpServerHelper commit
04-09 09:27:14.121: D/nicolas(843): sendResponse 1
04-09 09:27:14.131: D/nicolas(843): writeResponseBody
04-09 09:27:14.262: D/dalvikvm(843): GC_EXPLICIT freed 140K, 43% free 3512K/6151K, external 0K/0K, paused 119ms
04-09 09:27:14.272: I/LogFilter(843): Couldn't find the mandatory "Host" HTTP header.
04-09 09:27:14.332: I/com.fd.httpd(843): 1365479834330--enter query.
04-09 09:27:14.392: I/com.fd.httpd(843): 1365479834406--leave query.
04-09 09:27:14.392: I/com.fd.httpd(843): sum size = 0
04-09 09:27:14.392: I/com.fd.httpd(843): Thread stateRUNNABLE
04-09 09:27:14.422: I/LogService(843): 2013-04-09   09:27:14    127.0.0.1   -   127.0.0.1   8182    POST    /library/do/summary -   200 64  53  115 http://null -   -
04-09 09:27:14.422: D/nicolas(843): HttpServerHelper commit
04-09 09:27:14.422: D/nicolas(843): sendResponse 1
04-09 09:27:14.432: D/nicolas(843): writeResponseBody
04-09 09:27:14.562: D/dalvikvm(843): GC_EXPLICIT freed 95K, 43% free 3517K/6151K, external 0K/0K, paused 119ms
04-09 09:27:14.572: I/LogFilter(843): Couldn't find the mandatory "Host" HTTP header.
04-09 09:27:14.632: I/com.fd.httpd(843): 1365479834644--enter query.
04-09 09:27:14.682: I/com.fd.httpd(843): 1365479834693--enter applyBatch.
04-09 09:27:14.712: I/com.fd.httpd(843): 1365479834728--leave query.
04-09 09:27:14.722: I/com.fd.httpd(843): sum size = 0
04-09 09:27:14.722: I/com.fd.httpd(843): Thread stateRUNNABLE
04-09 09:27:14.732: I/LogService(843): 2013-04-09   09:27:14    127.0.0.1   -   127.0.0.1   8182    POST    /library/do/summary -   200 64  53  149 http://null -   -
04-09 09:27:14.742: D/nicolas(843): HttpServerHelper commit
04-09 09:27:14.752: D/nicolas(843): sendResponse 1
04-09 09:27:14.762: D/nicolas(843): writeResponseBody
04-09 09:27:14.912: D/dalvikvm(843): GC_EXPLICIT freed 103K, 43% free 3517K/6151K, external 0K/0K, paused 144ms
04-09 09:27:14.932: I/LogFilter(843): Couldn't find the mandatory "Host" HTTP header.
04-09 09:27:14.962: I/com.fd.httpd(843): 1365479834978--enter query.
04-09 09:27:15.112: D/dalvikvm(843): GC_EXPLICIT freed 68K, 43% free 3523K/6151K, external 0K/0K, paused 136ms

解决方案

This method is to view only specific logs,not to avoid unwanted logs coming in logcat.

adb shell logcat -s D/nicolas

or

adb shell logcat | grep D/nicolas

for example you only want to view log tagged "nicolas"

这篇关于logcat的continously显示的消息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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