You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by ck...@apache.org on 2021/12/18 01:24:44 UTC
[logging-log4j2] 11/16: [DOC] update JndiContextSelector section; mention property `enableJndiContextSelector`
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 d35b5e58febb73584d642da5006fdd5ca7319577
Author: Remko Popma <re...@yahoo.com>
AuthorDate: Sat Dec 18 09:41:41 2021 +0900
[DOC] update JndiContextSelector section; mention property `enableJndiContextSelector`
---
src/site/xdoc/manual/webapp.xml | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/site/xdoc/manual/webapp.xml b/src/site/xdoc/manual/webapp.xml
index a7f27fd..444f471 100644
--- a/src/site/xdoc/manual/webapp.xml
+++ b/src/site/xdoc/manual/webapp.xml
@@ -245,6 +245,7 @@
Note that in this case you must also set the "Log4jContextSelector" system property to
"<kbd>org.apache.logging.log4j.core.selector.JndiContextSelector</kbd>".
</p>
+ <p>For security reasons, from Log4j 2.17.0, JNDI must be enabled by setting system property <code>log4j2.enableJndiContextSelector=true</code>.</p>
</subsection>
<subsection name="Using Web Application Information During the Configuration">
<a name="WebLookup" />