You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@cassandra.apache.org by Daning <da...@netseer.com> on 2011/09/09 23:07:05 UTC

Disable hector stats

Hi,

How to disable hector stats? We keep getting this in log

(PeriodicalLog.java:221) INFO  Thread-53040 2011-09-09 13:24:03,290     
Statistics from Fri Sep 09 13:23:03 PDT 2011 to Fri Sep 09 13:24:03 PDT 2011
(PeriodicalLog.java:221) INFO  Thread-53040 2011-09-09 13:24:03,291     
Tag                                       Avg(ms)      Min      Max  Std 
Dev     95th   Count
(PeriodicalLog.java:221) INFO  Thread-53040 2011-09-09 13:24:03,291
(

We have tried to set log4j like this but that does not work,

log4j.logger.com.ecyrd.speed4j.log.PeriodicalLog=ERROR

Thanks,

Daning


Re: Disable hector stats

Posted by David Hawthorne <dh...@gmx.3crowd.com>.
I do it with a log4j properties file:

log4j.appender.null=org.apache.log4j.varia.NullAppender

log4j.category.me.prettyprint.cassandra.hector.TimingLogger=INFO, null
log4j.additivity.me.prettyprint.cassandra.hector.TimingLogger=false


On Sep 9, 2011, at 2:07 PM, Daning wrote:

> Hi,
> 
> How to disable hector stats? We keep getting this in log
> 
> (PeriodicalLog.java:221) INFO  Thread-53040 2011-09-09 13:24:03,290     Statistics from Fri Sep 09 13:23:03 PDT 2011 to Fri Sep 09 13:24:03 PDT 2011
> (PeriodicalLog.java:221) INFO  Thread-53040 2011-09-09 13:24:03,291     Tag                                       Avg(ms)      Min      Max  Std Dev     95th   Count
> (PeriodicalLog.java:221) INFO  Thread-53040 2011-09-09 13:24:03,291
> (
> 
> We have tried to set log4j like this but that does not work,
> 
> log4j.logger.com.ecyrd.speed4j.log.PeriodicalLog=ERROR
> 
> Thanks,
> 
> Daning
>