Repository: logging-log4j2 Updated Branches: refs/heads/master bd9074fe6 -> e33e950d7
LOG4J2-2175 Fix typo in Property Substitution docs Project: http://git-wip-us.apache.org/repos/asf/logging-log4j2/repo Commit: http://git-wip-us.apache.org/repos/asf/logging-log4j2/commit/e33e950d Tree: http://git-wip-us.apache.org/repos/asf/logging-log4j2/tree/e33e950d Diff: http://git-wip-us.apache.org/repos/asf/logging-log4j2/diff/e33e950d Branch: refs/heads/master Commit: e33e950d75a81ffdc3f69076fb10243260b10dd4 Parents: bd9074f Author: Mikael Ståldal <mik...@staldal.nu> Authored: Sat Jan 6 17:53:24 2018 +0100 Committer: Mikael Ståldal <mik...@staldal.nu> Committed: Sat Jan 6 17:53:24 2018 +0100 ---------------------------------------------------------------------- src/changes/changes.xml | 4 +++- src/site/xdoc/manual/configuration.xml.vm | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/e33e950d/src/changes/changes.xml ---------------------------------------------------------------------- diff --git a/src/changes/changes.xml b/src/changes/changes.xml index af86785..4727548 100644 --- a/src/changes/changes.xml +++ b/src/changes/changes.xml @@ -31,7 +31,9 @@ - "remove" - Removed --> <release version="2.10.1" date="2017-xx-xx" description="GA Release 2.10.1"> - + <action issue="LOG4J2-2175" dev="mikes" type="fix" due-to="Behrang Saeedzadeh"> + Fix typo in Property Substitution docs. + </action> <action issue="LOG4J2-2163" dev="rgoers" type="fix"> Allow SortedArrayStringMap to be filtered upon deserialization. Fix build error in Java 9 when compiling log4j-core test classes. http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/e33e950d/src/site/xdoc/manual/configuration.xml.vm ---------------------------------------------------------------------- diff --git a/src/site/xdoc/manual/configuration.xml.vm b/src/site/xdoc/manual/configuration.xml.vm index 04ef5b1..0890b39 100644 --- a/src/site/xdoc/manual/configuration.xml.vm +++ b/src/site/xdoc/manual/configuration.xml.vm @@ -1070,7 +1070,7 @@ rootLogger.appenderRef.stdout.ref = STDOUT multiple leading '$' characters each time the variable is resolved the leading '$' is simply removed. In the previous example the "Routes" element is capable of resolving the variable at runtime. To allow this the prefix value is specified as a variable with two leading '$' characters. When the configuration - file is first processed the first variable is simply removed. Thus, when the Routes element is evaluated + file is first processed the first '$' character is simply removed. Thus, when the Routes element is evaluated at runtime it is the variable declaration "${dollar}{sd:type}" which causes the event to be inspected for a StructuredDataMessage and if one is present the value of its type attribute to be used as the routing key. Not all elements support resolving variables at runtime. Components that do will specifically call that