title: Why logcat returns nothing when I adb logcal my.app.package.name?
body: <p>I am trying to use the terminal to attach to device's <code>logcat</code> to get output for my app. The syntax I am using is this</p>
  
  <pre><code>adb -d logcat my.app.package.name *:S
  </code></pre>
  
  <p>but when I type this command, I get empty output like</p>
  
  <pre><code>$ adb -d logcat my.app.package.name *:S
  --------- beginning of /dev/log/system
  --------- beginning of /dev/log/main
  </code></pre>
  
  <p>However, if I monitor messages globally on the device via <code>adb -d logcat *:E</code>, then I can see error generated by my application. </p>
  
  <p>Why am I not getting anything with the upper command? The semantics is OK as per Google docs (<a href="http://developer.android.com/tools/debugging/debugging-log.html" rel="nofollow">http://developer.android.com/tools/debugging/debugging-log.html</a>). Am I making a mistake somewhere?</p>
  
  <p>Note: If I try with GREP like <code>adb -d logcat | grep "my app"</code>, then I do get logcat logs. </p>