scwhittle commented on code in PR #37846:
URL: https://github.com/apache/beam/pull/37846#discussion_r2939639282


##########
runners/google-cloud-dataflow-java/worker/src/main/java/org/apache/beam/runners/dataflow/worker/logging/DataflowWorkerLoggingHandler.java:
##########
@@ -146,7 +145,7 @@ static ResourceBundle 
resourceBundleForNonDirectLogLevelHint(Level nonDirectLogL
   }
 
   /** If true, add SLF4J MDC to custom_data of the log message. */
-  @LazyInit private boolean logCustomMdc = false;
+  private AtomicBoolean logCustomMdc = new AtomicBoolean(false);

Review Comment:
   edited



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to