Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Make loading hectorLog4j.xml optional, controlled by system property …

…com.prettyprint.cassandra.load_hector_log4j
  • Loading branch information...
commit f0fe591df7352f542160aca4de01480abbccd2c3 1 parent 611774b
@rantav rantav authored
View
5 src/main/java/me/prettyprint/cassandra/service/JmxMonitor.java
@@ -73,7 +73,10 @@ public void registerMonitor(String name, String monitorType, Object monitoringIn
mbs.registerMBean(monitoringInterface, oName);
// Register perf4j monitors
- registerPerf4J();
+ if ("true".equalsIgnoreCase(
+ System.getProperty("com.prettyprint.cassandra.load_hector_log4j", "true"))) {
+ registerPerf4J();
+ }
}
private void registerPerf4J() {
Please sign in to comment.
Something went wrong with that request. Please try again.