Commit 189070de authored by Ralph Goers's avatar Ralph Goers
Browse files

LOG4J2-1911 Improve the documentation of the DynamicThresholdFilter

parent 7b043f6a
Showing with 13 additions and 3 deletions
+13 -3
......@@ -31,6 +31,9 @@
- "remove" - Removed
-->
<release version="2.9.0" date="2017-MM-DD" description="GA Release 2.9.0">
<action issue="LOG4J2-1911" dev="rgoers" type="fix">
Improve the documentation of the DynamicThresholdFilter.
</action>
<action issue="LOG4J2-1442" dev="mikes" type="add">
Generic HTTP appender.
</action>
......
......@@ -169,7 +169,8 @@
<p>
The DynamicThresholdFilter allows filtering by log level based on specific attributes. For example,
if the user's loginId is being captured in the ThreadContext Map then it is possible to enable
debug logging for only that user.
debug logging for only that user. If the log event does not contain the specified ThreadContext item
NEUTRAL will be returned.
</p>
<table>
<caption align="top">Dynamic Threshold Filter Parameters</caption>
......@@ -178,11 +179,17 @@
<th>Type</th>
<th>Description</th>
</tr>
<tr>
<td>key</td>
<td>String</td>
<td>The name of the item in the ThreadContext Map to compare.</td>
</tr>
<tr>
<td>defaultThreshold</td>
<td>String</td>
<td>Level of messages to be filtered. If there is no matching key in the key/value pairs
then this level will be compared against the event's level.
<td>Level of messages to be filtered. The default threshold only applies if the log event contains
the specified ThreadContext Map item and its value does not match any key in
the key/value pairs.
</td>
</tr>
<tr>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment