This is an automated email from the ASF dual-hosted git repository.
rgoers pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/logging-log4j2.git
The following commit(s) were added to refs/heads/master by this push:
new feae535 LOG4J2-3405 - Document that the Spring Boot Lookup requires
the log4j-spring-boot dependency.
feae535 is described below
commit feae5357bba7dbb0a2f3b45a234997b196e708e9
Author: Ralph Goers <[email protected]>
AuthorDate: Thu Feb 17 23:54:17 2022 -0700
LOG4J2-3405 - Document that the Spring Boot Lookup requires the
log4j-spring-boot dependency.
---
src/changes/changes.xml | 3 +++
src/site/asciidoc/manual/lookups.adoc | 3 ++-
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index 2298558..d5aae60 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -176,6 +176,9 @@
</release>
<release version="2.17.2" date="20YY-MM-DD" description="GA Release
2.17.2">
<!-- FIXES -->
+ <action issue="LOG4J2-3405" dev="rgoers" type="fix">
+ Document that the Spring Boot Lookup requires the log4j-spring-boot
dependency.
+ </action>
<action issue="LOG4J2-3333" dev="ckozak" type="fix">
Fix ThreadContextDataInjector initialization deadlock
</action>
diff --git a/src/site/asciidoc/manual/lookups.adoc
b/src/site/asciidoc/manual/lookups.adoc
index 4ab7220..82c7691 100644
--- a/src/site/asciidoc/manual/lookups.adoc
+++ b/src/site/asciidoc/manual/lookups.adoc
@@ -623,7 +623,8 @@ profiles can be an array. If more than one profile is
present they will be retur
list. To retrieve a single item from the array append `[{index}]` to the key.
For example, to return the
first active profile in the list specify `profiles.active[0]`.
-This Lookup will return null values until Spring Boot initializes application
logging.
+This Lookup will return null values until Spring Boot initializes application
logging. The Spring Boot
+Lookup requires the `log4j-spring-boot` jar be included as a dependency.
[source,xml]