LOGGER.error("Properties declaration must be the first element in the configuration");
}
continue;
} else if (tempLookup == subst.getVariableResolver()) {
final Map<String, String> map = (Map<String, String>) componentMap.get(CONTEXT_PROPERTIES);
final StrLookup lookup = map == null ? null : new MapLookup(map);
subst.setVariableResolver(new Interpolator(lookup));
}
if (child.getName().equalsIgnoreCase("appenders")) {
appenders = (ConcurrentMap<String, Appender<?>>) child.getObject();
} else if (child.getObject() instanceof Filter) {