We're in the process of upgrading from JBoss 7 to WildFly 26, and we're almost done. There is one thing that is confusing, in the log4j.xml there is this sniplet:
<logger name="RequestLogFilter">
<appender-ref ref="RequestLog"/>
</logger>
This adds a specific appender to a logger. In JBoss 7 this results in an org.jboss.logmanager.LoggerNode instance with the name "RequestLogFilter", where its handlers collection contains the "RequestLog" appender.
Under WildFly 26 the exact same log4j.xml file, with that (valid) configuration, also results in a LoggerNode, but its handler collection is empty. And thus the logging does not happen.
Does anyone have any insight why this configuration is not behaving the same? Or where I can find the code where this configuration is read? This is not standard log4j, so -Dlog4j.debug does not really help.
Thanks!
Tom