File tree 1 file changed +23
-0
lines changed
src/site/antora/modules/ROOT/partials/manual/systemproperties
1 file changed +23
-0
lines changed Original file line number Diff line number Diff line change @@ -39,6 +39,29 @@ See link:../javadoc/log4j-core/org/apache/logging/log4j/core/util/CachedClock[Ja
39
39
CoarseCachedClock:: alternative implementation of `CachedClock` with a slightly lower precision.
40
40
See link:../javadoc/log4j-core/org/apache/logging/log4j/core/util/CoarseCachedClock[JavaDoc] for details.
41
41
42
+ [id=log4j2.contextData]
43
+ == `log4j2.contextData`
44
+
45
+ [cols="1h,5"]
46
+ |===
47
+ | Env. variable
48
+ | LOG4J_CONTEXT_DATA
49
+
50
+ | Type
51
+ | link:../javadoc/log4j-api/org/apache/logging/log4j/util/StringMap.html[Class<? extends StringMap>]
52
+
53
+ | Default value
54
+ | link:../javadoc/log4j-api/org/apache/logging/log4j/util/SortedArrayStringMap.html[SortedArrayStringMap]
55
+ |===
56
+
57
+ Fully qualified class name of a
58
+ link:../javadoc/log4j-api/org/apache/logging/log4j/util/StringMap.html[StringMap]
59
+ implementation to use to store context data in log events.
60
+ The implementation must have:
61
+
62
+ * a no-arg contructor,
63
+ * a constructor accepting a single `int` parameter that specifies the capacity of the string map.
64
+
42
65
[id=log4j2.contextDataInjector]
43
66
== `log4j2.contextDataInjector`
44
67
You can’t perform that action at this time.
0 commit comments