This is an automated email from the ASF dual-hosted git repository. ckozak pushed a commit to branch release-2.x in repository https://gitbox.apache.org/repos/asf/logging-log4j2.git
commit f9c4cf76f1fdf6aeada0f6ee565ce44d09b1823e Author: Remko Popma <[email protected]> AuthorDate: Sat Dec 18 09:08:44 2021 +0900 [DOC] fix missing newline before bullet points --- src/site/markdown/index.md.vm | 1 + 1 file changed, 1 insertion(+) diff --git a/src/site/markdown/index.md.vm b/src/site/markdown/index.md.vm index 74ae75a..a157009 100644 --- a/src/site/markdown/index.md.vm +++ b/src/site/markdown/index.md.vm @@ -46,6 +46,7 @@ From version 2.17.0 (for Java 8), only lookup strings in configuration are expan in any other usage, only the top-level lookup is resolved, and any nested lookups are not resolved. In prior releases this issue can be mitigated by ensuring your logging configuration does the following: + * In PatternLayout in the logging configuration, replace Context Lookups like `${dollar}{ctx:loginId}`or `${dollar}${dollar}{ctx:loginId}` with Thread Context Map patterns (%X, %mdc, or %MDC). * Otherwise, in the configuration, remove references to Context Lookups like `${dollar}{ctx:loginId}` or `${dollar}${dollar}{ctx:loginId}` where they originate from sources external to the application such as HTTP headers or user input.
