code: static void configure(final InputStream f) {
  		new Configurator() {
  
  			@Override
  			void withConfigurator(JoranConfigurator configurator)
  					throws JoranException {
  
  				if (f == null)
  					throw new IllegalArgumentException("File cannot be null");
  
  				configurator.doConfigure(f);
  
  			}
  		}.configure();
  	}
docs: Configure logback logging system using the xml from the given stream.