Category "mdc"

Java MDC Logger - methods with too many MDC.put()

Small question regarding MDC with Java please. At first, I had very straightforward methods, some methods with many parameters (I shorten the list of parameters

How to use a gRPC interceptor to attach/update logging MDC in a Spring-Boot app

Problem I have a Spring-Boot application in which I am also starting a gRPC server/service. Both the servlet and gRPC code send requests to a common object to p

Why log4j stop running MDC logic if Java version is 11, 11.1x, etc

I use MDC for helping log4j loging more information. Everything works well until I updated java version to 11. This is my log4j config (pseodo code) log4j.appen