Skip to content

Commit

Permalink
[pinpoint-apm#9893] Align Log4j2 loggingsystem lookup orders
Browse files Browse the repository at this point in the history
  • Loading branch information
intr3p1d committed May 22, 2023
1 parent dfe9bbf commit 7eb3641
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,10 @@ public class Log4j2LoggingSystem implements LoggingSystem {
public static final String FACTORY_PROPERTY_NAME = "log4j2.loggerContextFactory";
public static final String NOLOOKUPS = "log4j2.formatMsgNoLookups";

private static final String[] LOOKUP = {"log4j2-test.xml", "log4j2-agent.xml", "log4j2.properties"};
private static final String[] LOOKUP = {
"log4j2-test.properties", "log4j2-test.xml",
"log4j2-agent.properties", "log4j2-agent.xml",
};

private LoggerContext loggerContext;
private final Path profilePath;
Expand Down

0 comments on commit 7eb3641

Please sign in to comment.