title: Android logging levels
body: <p>I'm having a little difficulty configuring Android logging. Here's what my code looks like:</p>
  
  <pre><code>    if (Log.isLoggable("MY_TAG", Log.VERBOSE)) {
          Log.v("MY_TAG", "Here's a log message");
      }
  </code></pre>
  
  <p>Pretty simple, right?</p>
  
  <p>However, I'm having quite a bit of difficulty getting the <code>Log.isLoggable("MY_TAG", Log.VERBOSE)</code> to return true.</p>
  
  <p>Per <a href="http://developer.android.com/reference/android/util/Log.html" rel="noreferrer">http://developer.android.com/reference/android/util/Log.html</a>, I tried adding a local.prop file to the /data/ directory which looks like this:</p>
  
  <pre><code>log.tag.MY_TAG=VERBOSE
  </code></pre>
  
  <p>but no luck. I also tried:</p>
  
  <pre><code>System.setProperty("log.tag.MY_TAG", String.valueOf(Log.VERBOSE));
  </code></pre>
  
  <p>but that doesn't work either.</p>
  
  <p>Any ideas on what I'm doing wrong here? I'm running Android 2.1-update1 on a Nexus 1 if that makes any difference.</p>