contextMap = (ThreadContextMap) clazz.newInstance();
break;
}
} catch (final ClassNotFoundException cnfe) {
LOGGER.error("Unable to locate configured LoggerContextFactory {}", threadContextMapName);
contextMap = new DefaultThreadContextMap(useMap);
} catch (final Exception ex) {
LOGGER.error("Unable to create configured LoggerContextFactory {}", threadContextMapName, ex);
contextMap = new DefaultThreadContextMap(useMap);
}
}
}
}
if (contextMap == null) {
contextMap = new DefaultThreadContextMap(useMap);
}
}