I have been trying to create a logback.xml logging pattern for my spring-boot project in which I can get some requirements.
I want to print data in logging pattern (such as process-id, request-id, user request data for a particular API request, user response for the same, etc. ) using MDC but I couldn't find any solution about how MDC communicates with logback.xml
and inserts the required value.
I am new in spring-boot and Java development; kindly suggest me some solution or ideas.