title: Finding logs relevant to a specific app in adb logcat
body: <p>I am not using Android Studio, so when coding or debugging an application, I send the .apk with:</p>
  
  <pre><code>adb install -r test.apk
  </code></pre>
  
  <p>and run it. Recently, since <a href="https://stackoverflow.com/a/47743732/1422096">using <code>Thread</code></a>, I get a <code>Unfortunately, app has stopped</code> crash. I tried to use:</p>
  
  <pre><code>adb logcat
  </code></pre>
  
  <p>but it is totally impossible to see anything in it, because I see hundreds of lines per second, and it never stops.</p>
  
  <p><strong>How to display only messages associated to a specific .apk with <code>adb logcat</code>?</strong></p>
  
  <p>On Linux, a <code>grep</code> could probably work, but I doubt it would work with <code>adb</code> on Windows (that I am using).</p>