Details
-
Question
-
Status: Open
-
Major
-
Resolution: Unresolved
-
2.13.2
-
None
-
- Java 1.8
- Log4j2 2.13.2
- Gradle 6.3
Description
I am creating an add-on for a framework which, by the time my add-on begins to load, has already established and loaded its own `log4j.xml` file. I would like to have my `log4j.xml` file merged and loaded.
I am able to manually achieve this by, in development, modifying the run configuration to include my `log4j.xml` path in the `-log4j.configurationFile=their_file.xml,my_file.xml`. But this is not a solution.
I cannot find a way to have my add-on run some static code before the framework.
Is it possible for the framework to remove their hardcoded configuration path, and allow Log4j2 to automatically search and find all `log4j.xml` files on the class path?