getLogger().log(Level.SEVERE, "Could not configure log4j logging redirection", e); GeoServerExtensions.getProperty(LoggingUtils.RELINQUISH_LOG4J_CONTROL, context); if (Boolean.valueOf(relinquishLoggingControl)) { getLogger() .info( "RELINQUISH_LOG4J_CONTROL on, won't attempt to reconfigure LOG4J loggers"); GeoServerResourceLoader loader = new GeoServerResourceLoader(baseDir); LoggingInfo loginfo = getLogging(loader); if (loginfo != null) { final String location = location); } else { getLogger() .log( Level.WARNING, getLogger().log(Level.SEVERE, "Could not configure log4j overrides", e);
System.setProperty(LoggingUtils.RELINQUISH_LOG4J_CONTROL, "false"); try { new LoggingStartupContextListener() .contextInitialized(new ServletContextEvent(context)); } finally { System.setProperty(LoggingUtils.RELINQUISH_LOG4J_CONTROL, "rel");