title: Is there a log4j or commons logging extension or other logging framework that is designed for Java 5 or higher?
body: <p>Java 5 has introduced many features that can be make logging statements less cluttering, such as variable number of arguments and printf. That can alleviate all the message building code that happens when something is logged, as well as the surrounding <code>if</code>.</p>
  
  <p>For example, instead of writing:</p>
  
  <pre><code>if (log.isDebugEnabled()
  {
      log.debug("User id: "+uid+", Request id:"
      + rid +", Client IP: "+ip+" blah blah blah");
  }
  </code></pre>
  
  <p>I would like to write:</p>
  
  <pre><code>log.debug("User id: %s, Request id: %s, Client IP: %s blah blah blah",
  uid, rid, ip);
  </code></pre>
  
  <p>or something like that.</p>
  
  <p>Do you know a logging framework or an extension to a logging framework that can help with that?</p>