This is an automated email from the ASF dual-hosted git repository.
rgoers pushed a commit to branch release-2.x
in repository https://gitbox.apache.org/repos/asf/logging-log4j2.git
The following commit(s) were added to refs/heads/release-2.x by this push:
new b763df3 LOG4J2-3405 - Document that the Spring Boot Lookup requires
the log4j-spring-boot dependency.
b763df3 is described below
commit b763df34298a046a2fca2c903b84fec4e229b47c
Author: Ralph Goers <[email protected]>
AuthorDate: Thu Feb 17 23:53:46 2022 -0700
LOG4J2-3405 - Document that the Spring Boot Lookup requires the
log4j-spring-boot dependency.
---
src/changes/changes.xml | 3 +++
src/site/xdoc/manual/lookups.xml | 3 ++-
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index 8b6b4f4..87af121 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -31,6 +31,9 @@
-->
<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-3317" dev="ckozak" type="fix">
Fix RoutingAppender backcompat and disallow recursive evaluation of
lookup results outside of configuration properties.
</action>
diff --git a/src/site/xdoc/manual/lookups.xml b/src/site/xdoc/manual/lookups.xml
index 2d703fb..2d0565d 100644
--- a/src/site/xdoc/manual/lookups.xml
+++ b/src/site/xdoc/manual/lookups.xml
@@ -595,7 +595,8 @@ logger.info(PERFORMANCE, "Message in
Performance.log");]]></pre>
first active profile in the list specify "profiles.active[0]".
</p>
<p>
- 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 <code>log4j-spring-boot</code> jar be included
as a dependency.
</p>
<pre class="prettyprint linenums"><![CDATA[
<File name="Application"
fileName="application-${spring:profiles.active[0]}.log">