org.wso2.carbon.registry.core.statistics
Class StatisticsLog

java.lang.Object
  extended by org.wso2.carbon.registry.core.statistics.StatisticsLog

public final class StatisticsLog
extends Object

This is an class containing a logger that can be used to log statistics related to the use of one or more registry instances on a given server. Logged statistics include connection details, transactions, and also registry operations.

In order to see the statistics logged on the command line, add the following entry to the log4j.properties file on the classpath: log4j.logger.org.wso2.carbon.registry.core.statistics=DEBUG.


Method Summary
static org.apache.commons.logging.Log getLog()
          Method to obtain an instance of the logger that can be used to log statistics.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getLog

public static org.apache.commons.logging.Log getLog()
Method to obtain an instance of the logger that can be used to log statistics.

Returns:
the logger that can be used to log statistics.


Copyright © 2014 WSO2 Inc. All Rights Reserved.