Depends on how you view your logarithm.
If you use the logcat GUI, it’s best to create a filter for the tags you want to see. They fall into a separate category. Although ui has changed a bit, you can use this old answer from me . It should be clear how this is used (make sure that the “Saved Filters Tab” button is pressed, otherwise you will not see the “Add Filter” button. You can find this in the upper right corner of the log). I do not know a single parameter that allows you to filter specific tags from the entire log.
If you use the command line, you can disable certain tags. Example:
adb logcat AndroidRuntime:S *:V
shows everything ( *:V ) to the verbose log level, except for the AndroidRuntime tag, which will be limited to the word "silence", which means that it will not print anything.
To display a single tag, you can use
adb logcat *:S MyAppTag:V OtherTag:V
The same thing, everything turns off except MyAppTag and OtherTag. For more information, see Filtering Log Output .
user658042 Oct 25 '11 at 13:27 2011-10-25 13:27
source share