org.codehaus.plexus.logging.ConsoleLoggerManager DEBUG
626364656667686970717273
{ try { ContainerConfiguration config = new DefaultContainerConfiguration().setAutoWiring(true); plexusContainer = new DefaultPlexusContainer(config); ConsoleLoggerManager loggerManager = new ConsoleLoggerManager(); loggerManager.setThreshold("ERROR"); ((DefaultPlexusContainer) plexusContainer).setLoggerManager(loggerManager); return (DefaultPlexusContainer) plexusContainer; } catch (Exception e) {
545556575859606162636465
public DefaultPlexusContainer call() throws Exception { try { plexusContainer = new DefaultPlexusContainer(); ConsoleLoggerManager loggerManager = new ConsoleLoggerManager(); loggerManager.setThreshold("ERROR"); ((DefaultPlexusContainer) plexusContainer).setLoggerManager(loggerManager); return (DefaultPlexusContainer) plexusContainer; } catch (Exception e) {
838485868788899091929394
6465666768697071727374
catch ( ComponentRepositoryException cre ) { throw new ContainerInitializationException( "Error setting up logging manager.", cre ); } loggerManager = new ConsoleLoggerManager( "info" ); } context.getContainer().setLoggerManager( loggerManager ); }
202203204205206207208209210211212213
{ ClassLoader cl = Thread.currentThread().getContextClassLoader(); try { container = new DefaultPlexusContainer(); ConsoleLoggerManager loggerManager = new ConsoleLoggerManager(); loggerManager.setThreshold("ERROR"); getContainer().setLoggerManager(loggerManager); builder = getContainer().lookup(ProjectBuilder.class); } catch (Exception e)
207208209210211212213214215216217218
565758596061626364656667
233234235236237238239240241242243244
100101102103104105106107108109110111
loggerManager = (LoggerManager) beanFactory.getBean( "loggerManager" ); } else { logger.warn( "No loggerManager set in context. Falling back to ConsoleLoggerManager" ); ConsoleLoggerManager defaultLoggerManager = new ConsoleLoggerManager(); defaultLoggerManager.initialize(); loggerManager = defaultLoggerManager; } } return loggerManager; }
310311312313314315316317318319
return (LoggerManager) this.applicationContext.getBean( "loggerManager" ); } else { logger.warn( "No loggerManager set in context. Falling back to ConsoleLoggerManager" ); ConsoleLoggerManager defaultLoggerManager = new ConsoleLoggerManager(); defaultLoggerManager.initialize(); return defaultLoggerManager; } }