This is an automated email from the ASF dual-hosted git repository.
mattsicker pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/logging-log4j2.git
The following commit(s) were added to refs/heads/master by this push:
new fe8795c41a Add missing bit of commit
fe8795c41a is described below
commit fe8795c41aa648f8ee4d9f6e1eaef079939d923e
Author: Matt Sicker <[email protected]>
AuthorDate: Sun Oct 30 20:37:37 2022 -0500
Add missing bit of commit
Signed-off-by: Matt Sicker <[email protected]>
---
.../src/main/java/org/apache/logging/log4j/core/LoggerContext.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/log4j-core/src/main/java/org/apache/logging/log4j/core/LoggerContext.java
b/log4j-core/src/main/java/org/apache/logging/log4j/core/LoggerContext.java
index af67daffbc..9c9764e177 100644
--- a/log4j-core/src/main/java/org/apache/logging/log4j/core/LoggerContext.java
+++ b/log4j-core/src/main/java/org/apache/logging/log4j/core/LoggerContext.java
@@ -811,7 +811,7 @@ public class LoggerContext extends AbstractLifeCycle
}
private void initApiModule() {
- ThreadContextMapFactory.init(); // Or make public and call
ThreadContext.init() which calls ThreadContextMapFactory.init().
+ ThreadContext.init();
}
// LOG4J2-151: changed visibility from private to protected