root.removeAllAppenders();
root.addAppender(appender);
appender.setName("dns-frontend");
appender.setLayout(new PatternLayout("%d %-5p %t [%c{1}] %m%n"));
appender.activateOptions();
}
protected Ehcache attachCache() {
CacheManager.getInstance().addCacheIfAbsent("da_cache");
Ehcache cache = CacheManager.getInstance().getCache("da_cache");