title: How can I suppress INFO logs in an HBase client application?
body: <p>I'm writing a Java console application that accesses HBase, and I can't figure out how to get rid of all the annoying INFO messages:</p>
  
  <pre><code>13/05/24 11:01:12 INFO zookeeper.ZooKeeper: Client environment:zookeeper.version=3.4.5-1392090, built on 09/30/2012 17:52 GMT
  13/05/24 11:01:12 INFO zookeeper.ZooKeeper: Client environment:host.name=10.1.0.110
  13/05/24 11:01:12 INFO zookeeper.ZooKeeper: Client environment:java.version=1.7.0_15
  13/05/24 11:01:12 INFO zookeeper.ZooKeeper: Client environment:java.vendor=Oracle Corporation
  13/05/24 11:01:12 INFO zookeeper.ZooKeeper: Client environment:java.home=/Library/Java/JavaVirtualMachines/jdk1.7.0_15.jdk/Contents/Home/jre
  </code></pre>
  
  <p>etc...</p>
  
  <p>I have tried several different things from the client code itself, but none of the obvious ways have worked for me.</p>
  
  <p>This is an example of something that didn't work:</p>
  
  <pre><code>Logger log = Logger.getLogger("log4j.logger.org.apache.zookeeper");
  log.setLevel(Level.WARN);
  </code></pre>