This is an automated email from the ASF dual-hosted git repository.
pkarwasz 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 edde772d30 Force Spring Cloud server sample to use current Log4j2
version
edde772d30 is described below
commit edde772d30d210b0a8b6a628b626e3a125d1262e
Author: Piotr P. Karwasz <[email protected]>
AuthorDate: Sun Sep 18 10:59:08 2022 +0200
Force Spring Cloud server sample to use current Log4j2 version
The `log4j-spring-cloud-config-sample-server` did not use the Log4j2 parent,
therefore it used a very old 2.13.3 Log4j2 version.
---
.../log4j-spring-cloud-config-sample-server/pom.xml | 2 ++
1 file changed, 2 insertions(+)
diff --git
a/log4j-spring-cloud-config/log4j-spring-cloud-config-samples/log4j-spring-cloud-config-sample-server/pom.xml
b/log4j-spring-cloud-config/log4j-spring-cloud-config-samples/log4j-spring-cloud-config-sample-server/pom.xml
index ef9d0556ca..76d75d0100 100644
---
a/log4j-spring-cloud-config/log4j-spring-cloud-config-samples/log4j-spring-cloud-config-sample-server/pom.xml
+++
b/log4j-spring-cloud-config/log4j-spring-cloud-config-samples/log4j-spring-cloud-config-sample-server/pom.xml
@@ -34,6 +34,8 @@
</parent>
<properties>
+ <!-- Overrides version from `spring-boot-dependencies` ancestor -->
+ <log4j2.version>${project.version}</log4j2.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<log4jParentDir>${basedir}/../../..</log4jParentDir>