adb logcat filter doesn't work
2012-03-30 16:40
423 查看
My Android application tries to log some runtime information with Log.i ("myTag", rtMsg)
According to Android developer documents, I will be able to use "adb logcat myTag:I" to filter those information. One can set a list of filters, and use white space to separate them, here I used a filter myTag:I, saying that I would like to get log entries
with tag "myTag" and priority level at least I.
However, I got too many spams. Later I figured out that those filters are connected by disjunction relation, and the default filter is "*:I", that's why I thought my filter did not work.
So how to fix? Easy~~
adb logcat -s myTag
(-s tries to set the default filter to silent, which is the highest priority level)
According to Android developer documents, I will be able to use "adb logcat myTag:I" to filter those information. One can set a list of filters, and use white space to separate them, here I used a filter myTag:I, saying that I would like to get log entries
with tag "myTag" and priority level at least I.
However, I got too many spams. Later I figured out that those filters are connected by disjunction relation, and the default filter is "*:I", that's why I thought my filter did not work.
So how to fix? Easy~~
adb logcat -s myTag
(-s tries to set the default filter to silent, which is the highest priority level)
相关文章推荐
- eclipse插件Maven添加依赖查询无结果的解决方法(Select Dependency doesn't work)
- set_terminate doesn't work
- adb logcat D:>log.txt 不工作怎么办
- File@CompanionFile doesn't work
- mysql check constraint doesn't work
- Liferay color-scheme doesn't work
- BitmapImage.UriSource binding doesn't work ...
- Attempting to start Apache service...but apache doesn't work
- 使用cmd打印log "adb logcat" 并且处理乱码的问题
- adb logcat 输出的几个小技巧
- 安装rhel5.4遇到的IO-APIC+timer doesn't work .
- eclipse插件Maven添加依赖查询无结果的解决方法(Select Dependency doesn't work)
- Why dynamic_cast doesn't work ?
- topmargin=\"0\" doesn\'t work in Firefox?
- com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table 'bbs2011._catgory' doesn't exist
- ViewPager.setOffscreenPageLimit(0) doesn't work as expected
- Xcode code sense and cmd+click to symbol doesn't work for 1 of my projects
- 貌似csdn文章搜索doesn't work
- ROOT: Why TStyle::SetStatFontSize() doesn't work?
- Android - adb : logcat / shell / app_process & android.os.Process