I am trying to log using org.jboss.logging.MDC but the log entry is not found in server.log
1.Maven Dependency Used:
2.Athe below code in the controller
org.jboss.logging.MDC.put("MDC Worked", new String("MDC Worked"));
3.Placed the jboss-logging.xml inside META-INF folder of the web application.
The content of jboss-logging.xml is as follows:
There are no errors but the log entry is not found in the server.log