Skip to content

Commit d81e229

Browse files
committed
replace transient with volatile
1 parent 3a2f67a commit d81e229

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

log4j-jul/src/main/java/org/apache/logging/log4j/jul/Log4jBridgeHandler.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ public class Log4jBridgeHandler extends java.util.logging.Handler implements Pro
9292

9393
private boolean doDebugOutput = false;
9494
private String julSuffixToAppend = null;
95-
private transient boolean installAsLevelPropagator = false;
95+
private volatile boolean installAsLevelPropagator = false;
9696

9797
/**
9898
* Adds a new Log4jBridgeHandler instance to JUL's root logger.

0 commit comments

Comments
 (0)