I would like to print some MDC values in Glassfish, but I can't find where to change the logging pattern.
This is what I have in my code:
MDC.put("something", "SOME_VALUE");
But then I need to configure somewhere the pattern like this:
%-4r [%thread] %-5level %X{something} - %msg%n
So my simple question is: where should I put that in Glassfish?
I am using:
- Glassfish 4.1
- slf4j