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:49 UTC
[logging-log4j2] 16/16: Remove non-applicable JNDI stuff
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 8e18c130c7094b12138d7fab6b91bd8701ff00ee
Author: Ralph Goers <rg...@apache.org>
AuthorDate: Fri Dec 17 18:18:50 2021 -0700
Remove non-applicable JNDI stuff
---
src/site/xdoc/manual/lookups.xml | 8 +-------
1 file changed, 1 insertion(+), 7 deletions(-)
diff --git a/src/site/xdoc/manual/lookups.xml b/src/site/xdoc/manual/lookups.xml
index 82051de..30f600d 100644
--- a/src/site/xdoc/manual/lookups.xml
+++ b/src/site/xdoc/manual/lookups.xml
@@ -275,13 +275,7 @@
The JndiLookup allows variables to be retrieved via JNDI. By default the key will be prefixed with
java:comp/env/, however if the key contains a ":" no prefix will be added.
</p>
- <p>By default the JDNI Lookup only supports the java, ldap, and ldaps protocols or no protocol. Additional
- protocols may be supported by specifying them on the <code>log4j2.allowedJndiProtocols</code> property.
- When using LDAP Java classes that implement the Referenceable interface are not supported for security
- reasons. Only the Java primitive classes are supported by default as well as any classes specified by the
- <code>log4j2.allowedLdapClasses</code> property. When using LDAP only references to the local host name
- or ip address are supported along with any hosts or ip addresses listed in the
- <code>log4j2.allowedLdapHosts</code> property.</p>
+ <p>The JDNI Lookup only supports the java protocol or no protocol (as shown in the example below).</p>
<pre class="prettyprint linenums"><![CDATA[
<File name="Application" fileName="application.log">
<PatternLayout>