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 ee3643d commit 5bcd4eeCopy full SHA for 5bcd4ee
oauth2_http/java/com/google/auth/oauth2/Slf4jUtils.java
@@ -142,6 +142,8 @@ static void logWithMDC(
142
// Default to DEBUG level
143
}
144
if (!contextMap.isEmpty()) {
145
+ // MDC carries contextual information in log messages.
146
+ // It is tied to thread, and is safer to clear it as we intend to tie info to log entries.
147
MDC.clear();
148
149
0 commit comments