title: android logcat: HOWTO filter and format on command line?
body: <p>As far as I know, I can't filter application name from cmd, so I have to use the tags instead...</p>
  
  <p>I can filter properly, but I can't get the ouput format I want...</p>
  
  <p>I'm trying the following and everything works fine...</p>
  
  <pre><code>Runtime.getRuntime().exec(new String[] { "logcat", "-d",
      BasicDefinitions.APP_TAG + ":I *:S" });
  </code></pre>
  
  <p>if I change <code>-d</code> to <code>-d -v long</code> it doesn't work anymore... the -v parameter is a valid one as stated here <a href="http://developer.android.com/tools/debugging/debugging-log.html#outputFormat" rel="nofollow">http://developer.android.com/tools/debugging/debugging-log.html#outputFormat</a></p>