|
|
@ -211,7 +211,7 @@ public class Log4J2LoggingSystemTests extends AbstractLoggingSystemTests {
|
|
|
|
@Test
|
|
|
|
@Test
|
|
|
|
public void configLocationsWithNoExtraDependencies() {
|
|
|
|
public void configLocationsWithNoExtraDependencies() {
|
|
|
|
assertThat(this.loggingSystem.getStandardConfigLocations())
|
|
|
|
assertThat(this.loggingSystem.getStandardConfigLocations())
|
|
|
|
.contains("log4j2.xml");
|
|
|
|
.contains("log4j2.properties", "log4j2.xml");
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@Test
|
|
|
|
@Test
|
|
|
@ -241,7 +241,8 @@ public class Log4J2LoggingSystemTests extends AbstractLoggingSystemTests {
|
|
|
|
@Test
|
|
|
|
@Test
|
|
|
|
public void springConfigLocations() {
|
|
|
|
public void springConfigLocations() {
|
|
|
|
String[] locations = getSpringConfigLocations(this.loggingSystem);
|
|
|
|
String[] locations = getSpringConfigLocations(this.loggingSystem);
|
|
|
|
assertThat(locations).isEqualTo(new String[] { "log4j2-spring.xml" });
|
|
|
|
assertThat(locations).isEqualTo(
|
|
|
|
|
|
|
|
new String[] { "log4j2-spring.properties", "log4j2-spring.xml" });
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@Test
|
|
|
|
@Test
|
|
|
|