There is also hbase-server/src/test/resources/log4j.properties using which
you can control the logging level of test utility classes.

Cheers

On Wed, Oct 29, 2014 at 5:30 AM, Dima Spivak <dspi...@cloudera.com> wrote:

> Benjamin,
>
> You can reduce the log level with the log4j properties file under
> hbase-server/src/main/resources.
>
> All the best,
>    Dima
>
> On Wednesday, October 29, 2014, Sznajder ForMailingList <
> bs4mailingl...@gmail.com> wrote:
>
> > Hi,
> >
> > When running Hbase client from my eclipse IDE, I get a very large amount
> of
> > log info on the console.
> > For example:
> >
> > [main] INFO org.apache.zookeeper.ZooKeeper - Client
> > environment:zookeeper.version=3.4.3-1240972, built on 02/06/2012 10:48
> GMT
> > [main] INFO org.apache.zookeeper.ZooKeeper - Client environment:
> host.name
> > =...
> > [main] INFO org.apache.zookeeper.ZooKeeper - Client
> > environment:java.version=1.6.0_25
> > [main] INFO org.apache.zookeeper.ZooKeeper - Client
> > environment:java.vendor=Sun Microsystems Inc.
> > [main] INFO org.apache.zookeeper.ZooKeeper - Client
> > environment:java.home=....
> > [main-SendThread(127.0.0.1:2181)] INFO
> > org.apache.zookeeper.client.ZooKeeperSaslClient - Client will not
> > SASL-authenticate because the default JAAS configuration section 'Client'
> > could not be found. If you are not using SASL, you may ignore this. On
> the
> > other hand, if you expected SASL to work, please fix your JAAS
> > configuration.
> > [main-SendThread(127.0.0.1:2181)] INFO org.apache.zookeeper.ClientCnxn -
> > Socket connection established to 127.0.0.1/127.0.0.1:2181, initiating
> > session
> > [main-SendThread(127.0.0.1:2181)] WARN
> > org.apache.zookeeper.ClientCnxnSocket - Connected to an old server; r-o
> > mode will be unavailable
> > [main-SendThread(127.0.0.1:2181)] INFO org.apache.zookeeper.ClientCnxn -
> > Session establishment complete on server 127.0.0.1/127.0.0.1:2181,
> > sessionid = 0x14956f26f2a003d, negotiated timeout = 180000
> >
> >
> >
> > How can I, please, reduce this amount of information?
> >
> > thanks!
> >
> > Benjamin
> >
>

Reply via email to