We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6b2921a commit 8c4ea8fCopy full SHA for 8c4ea8f
slf4j-api/src/main/java/org/slf4j/MDC.java
@@ -91,6 +91,9 @@ private MDC() {
91
static {
92
SLF4JServiceProvider provider = LoggerFactory.getProvider();
93
if (provider != null) {
94
+ // obtain and attach the MDCAdapter from the provider
95
+ // If you wish to change the adapter, Setting the MDC.mdcAdapter variable might not be enough as
96
+ // the provider might perform additional assignments that you would need to replicate/adapt.
97
mdcAdapter = provider.getMDCAdapter();
98
} else {
99
Reporter.error("Failed to find provider.");
0 commit comments