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 025a551 commit 42b9fa5Copy full SHA for 42b9fa5
logback13/src/main/java/com/newrelic/logging/logback13/NewRelicAsyncAppender.java
@@ -62,9 +62,7 @@ protected void append(ILoggingEvent eventObject) {
62
Map<String, String> copyMdc = MDC.getMDCAdapter().getCopyOfContextMap();
63
if (copyMdc != null) {
64
for (Map.Entry<String, String> entry : copyMdc.entrySet()) {
65
- if (entry.getKey() != null && entry.getValue() != null) {
66
- combinedContextMap.put(CONTEXT_PREFIX + entry.getKey(), entry.getValue());
67
- }
+ combinedContextMap.put(CONTEXT_PREFIX + entry.getKey(), entry.getValue());
68
}
69
70
0 commit comments