protected void configureContainer(final DefaultPlexusContainer c) throws Exception {
assert c != null;
c.setLookupRealm(null);
c.setLoggerManager(new MavenLoggerManager(config.getLogger()));
c.getLoggerManager().setThresholds(logger.getThreshold());
// If there is a configuration delegate then call it
if (config.getDelegate() != null) {
config.getDelegate().configure(c);