I don’t want to see debug logs from adb logcat command. There are tons of debug logs from my phone and I don’t want to see them.
adb logcat --help says " *:I " will output only info logs but is there any option to filter all logs except debug.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
From the docs here, when you specify a log level filter, it will show all messages at that level and higher. The levels are specified as:
So with this in mind, passing the filter you mentioned
*:Iwill log everything but Verbose and Debug logs.Unless your intention is to show Verbose as well as the other log levels, I don’t think you can do that because specifying Verbose includes anything above Verbose.
If that is the case, it might be useful for you to filter on a specific tag instead of a specific log level, or some combination of both.