I have 2 apps that are both looking for log4j2.xml. One finds it and one doesn't.
After adding this to the jvm: -Dlog4j.debug (using 2.11.2 of everything)
The first app that runs correctly scans and finds the file:
The second app stops scanning after log4j2-test.xml
When I add log4j2-test.xml to the second app, it finds it and works correctly. Obviously there is a difference (the apps are VERY similar) but can't find it. Any ideas? What would cause Log4j2 to stop scanning for the property file?