|
|
|
@ -1,5 +1,5 @@
|
|
|
|
|
/*
|
|
|
|
|
* Copyright 2012-2015 the original author or authors.
|
|
|
|
|
* Copyright 2012-2016 the original author or authors.
|
|
|
|
|
*
|
|
|
|
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
|
* you may not use this file except in compliance with the License.
|
|
|
|
@ -25,6 +25,7 @@ import org.junit.Before;
|
|
|
|
|
import org.junit.Rule;
|
|
|
|
|
import org.junit.Test;
|
|
|
|
|
import org.slf4j.Logger;
|
|
|
|
|
import org.slf4j.LoggerFactory;
|
|
|
|
|
import org.slf4j.impl.StaticLoggerBinder;
|
|
|
|
|
|
|
|
|
|
import org.springframework.boot.logging.LoggingInitializationContext;
|
|
|
|
@ -71,7 +72,7 @@ public class SpringBootJoranConfiguratorTests {
|
|
|
|
|
@After
|
|
|
|
|
public void reset() {
|
|
|
|
|
this.context.stop();
|
|
|
|
|
BasicConfigurator.configureDefaultContext();
|
|
|
|
|
new BasicConfigurator().configure((LoggerContext) LoggerFactory.getILoggerFactory());
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@Test
|
|
|
|
|