private final void doConfigure ( final InputSource inputSource ) throws JoranException { long threshold = System . currentTimeMillis ( ) ; // if (!ConfigurationWatchListUtil.wasConfigurationWatchListReset(context)) { // informContextOfURLUsedForConfiguration(getContext(), null); // } SaxEventRecorder recorder = new SaxEventRecorder ( context ) ; recorder . recordEvents ( inputSource ) ; doConfigure ( recorder . getSaxEventList ( ) ) ; // no exceptions a this level StatusUtil statusUtil = new StatusUtil ( context ) ; if ( statusUtil . noXMLParsingErrorsOccurred ( threshold ) ) { addInfo ( "Registering current configuration as safe fallback point" ) ; registerSafeConfiguration ( recorder . getSaxEventList ( ) ) ; } }
Configures logback with the configuration XML read from an input source .