Hi,
I can't seem to get Wildfly 26 to use my log4j2 context factory. I see this message w/some debug turned on.
2024_05_04 19:04:14,547 ERROR [stderr] (MSC service thread 1-1) WARN StatusLogger Multiple logging implementations found:
2024_05_04 19:04:14,549 ERROR [stderr] (MSC service thread 1-1) Factory: org.apache.logging.log4j.core.impl.Log4jContextFactory, Weighting: 10
2024_05_04 19:04:14,558 ERROR [stderr] (MSC service thread 1-1) Factory: org.jboss.logmanager.log4j.JBossLoggerContextFactory, Weighting: 500
2024_05_04 19:04:14,593 ERROR [stderr] (MSC service thread 1-1) Using factory: org.jboss.logmanager.log4j.JBossLoggerContextFactory
I'm assuming this is why my log4j2 configuration isn't loaded the log file created. It's using the JBossLoggerContextFactory. How would I tell Wildfly to use the Apache log4j factory? I can't find where I would do that or at least change the Weighting.
Thanks,
-Mike