Skip to content

Commit

Permalink
Add volatile to the Logback OpenTelemetry appender (#9748)
Browse files Browse the repository at this point in the history
  • Loading branch information
jeanbisutti authored Oct 23, 2023
1 parent e4d471d commit a172384
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public class OpenTelemetryAppender extends UnsynchronizedAppenderBase<ILoggingEv
private boolean captureKeyValuePairAttributes = false;
private List<String> captureMdcAttributes = emptyList();

private OpenTelemetry openTelemetry;
private volatile OpenTelemetry openTelemetry;
private LoggingEventMapper mapper;

public OpenTelemetryAppender() {}
Expand Down

0 comments on commit a172384

Please sign in to comment.