// HACK: Look for an HStoreSite so that we can set our name properly
// This probably doesn't need to be synchronized
if (THREAD_MANAGER == null) {
synchronized (LoggerUtil.class) {
if (THREAD_MANAGER == null) {
HStoreSite hstore_site = HStore.instance();
if (hstore_site != null) {
String name = HStoreThreadManager.getThreadName(hstore_site, HStoreConstants.THREAD_NAME_LOGGING);
self.setName(name);
THREAD_MANAGER = hstore_site.getThreadManager();
THREAD_MANAGER.registerProcessingThread();
}
}
} // SYNCH
}