spring-geode-starter-logging/src/main/java/org/springframework/geode/logging/slf4j/logback/support/LogbackSupport.java
/**
	 * Resets the state of the SLF4J Logback logging provider and system.
	 */
Resets the state of the SLF4J Logback logging provider and system.
Resets the state of the SLF4J Logback logging provider and system .
public static void resetLogback() {
		try {
			Method loggerFactoryReset = LoggerFactory.class.getDeclaredMethod("reset");
			loggerFactoryReset.setAccessible(true);
			loggerFactoryReset.invoke(null);
			Method staticLoggerBinderReset = StaticLoggerBinder.class.getDeclaredMethod("reset");
			staticLoggerBinderReset.setAccessible(true);
			staticLoggerBinderReset.invoke(null);
		}
		catch (Throwable cause) {
			throw new IllegalStateException("Failed to reset Logback", cause);
		}
	}
public static void resetLogback ( ) { try { Method loggerFactoryReset = LoggerFactory . class . getDeclaredMethod ( "reset" ) ; loggerFactoryReset . setAccessible ( true ) ; loggerFactoryReset . invoke ( null ) ; Method staticLoggerBinderReset = StaticLoggerBinder . class . getDeclaredMethod ( "reset" ) ; staticLoggerBinderReset . setAccessible ( true ) ; staticLoggerBinderReset . invoke ( null ) ; } catch ( Throwable cause ) { throw new IllegalStateException ( "Failed to reset Logback" , cause ) ; } }
Resets the state of the SLF4J Logback logging provider and system.
Resets the state of the SLF4J Logback logging provider and system .