Add test to validate log42-spring.xml location
See gh-4809
This commit is contained in:
@@ -191,6 +191,13 @@ public class Log4J2LoggingSystemTests extends AbstractLoggingSystemTests {
|
||||
"log4j2.jsn", "log4j2.xml")));
|
||||
}
|
||||
|
||||
@Test
|
||||
public void springConfigLocations() throws Exception {
|
||||
String[] locations = getSpringConfigLocations(this.loggingSystem);
|
||||
assertThat(locations,
|
||||
equalTo(new String[] { "log4j2-spring.xml" }));
|
||||
}
|
||||
|
||||
@Test
|
||||
public void exceptionsIncludeClassPackaging() throws Exception {
|
||||
this.loggingSystem.beforeInitialize();
|
||||
|
||||
Reference in New Issue
Block a user