static { // log4j Hack LoggerUtil.setupLogging(); // Jar Caching! boolean reuse = false; if (System.getenv("ENABLE_JAR_REUSE") != null) { reuse = Boolean.valueOf(System.getenv("ENABLE_JAR_REUSE")); if (reuse) LOG.debug("ENABLE_JAR_REUSE = " + reuse); } ENABLE_JAR_REUSE = reuse; // HStoreConf Hack HStoreConf.init(null, null); HStoreConf.singleton().site.cpu_affinity = false; // Force everything to be single-threaded ThreadUtil.setMaxGlobalThreads(2); }
static { LoggerUtil.attachObserver(LOG, debug, trace); }
static { LoggerUtil.setupLogging(); }