Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit c475dbf

Browse files
committedAug 26, 2024··
Apply review suggestions (#2846)
1 parent bf07371 commit c475dbf

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed
 

‎log4j-core/src/main/java/org/apache/logging/log4j/core/impl/ThreadContextDataInjector.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -89,9 +89,9 @@ private static List<ContextDataProvider> getServiceProviders() {
8989

9090
private abstract static class AbstractContextDataInjector implements ContextDataInjector {
9191

92-
protected final List<ContextDataProvider> providers;
92+
final List<ContextDataProvider> providers;
9393

94-
protected AbstractContextDataInjector() {
94+
AbstractContextDataInjector() {
9595
this.providers = getProviders();
9696
}
9797

‎src/changelog/.2.x.x/2331_custom_context_data_in_lookup.xml

+3-3
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<entry xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
33
xmlns="https://logging.apache.org/xml/ns"
44
xsi:schemaLocation="https://logging.apache.org/xml/ns https://logging.apache.org/xml/ns/log4j-changelog-0.xsd"
5-
type="added">
6-
<issue id="2331" link="2330_add_faster_web_app_context_map.xml"/>
7-
<description format="asciidoc">Add support for custom context data in `ctx` lookup.</description>
5+
type="fixed">
6+
<issue id="2331" link="https://github.com/apache/logging-log4j2/issues/2331"/>
7+
<description format="asciidoc">Fix custom thread-context data provider handling in lookups and filters.</description>
88
</entry>

0 commit comments

Comments
 (0)
Please sign in to comment.