You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by ra...@apache.org on 2026/08/13 13:52:35 UTC

(logging-log4j2) branch 2.x updated: Add log4j-api-kotlin dependency to BOM (#4222)

This is an automated email from the ASF dual-hosted git repository.

ramanathan1504 pushed a commit to branch 2.x
in repository https://gitbox.apache.org/repos/asf/logging-log4j2.git


The following commit(s) were added to refs/heads/2.x by this push:
     new c59b0562e6 Add log4j-api-kotlin dependency to BOM (#4222)
c59b0562e6 is described below

commit c59b0562e6690c61296065f7485f6e82a3c46c47
Author: Ramanathan <ra...@apache.org>
AuthorDate: Thu Aug 13 19:22:29 2026 +0530

    Add log4j-api-kotlin dependency to BOM (#4222)
    
    * Add log4j-api-kotlin dependency to BOM
    
    * Add log4j-api-kotlin to the Log4j Bill of Materials (BOM)
---
 pom.xml                                                   |  6 ++++++
 src/changelog/.2.x.x/4145_add_log4j_api_kotlin_to_bom.xml | 13 +++++++++++++
 2 files changed, 19 insertions(+)

diff --git a/pom.xml b/pom.xml
index 2c090b1821..be528c33bb 100644
--- a/pom.xml
+++ b/pom.xml
@@ -401,6 +401,12 @@
         <version>${project.version}</version>
       </dependency>
 
+      <dependency>
+        <groupId>org.apache.logging.log4j</groupId>
+        <artifactId>log4j-api-kotlin</artifactId>
+        <version>1.5.0</version>
+      </dependency>
+
       <dependency>
         <groupId>org.apache.logging.log4j</groupId>
         <artifactId>log4j-api-test</artifactId>
diff --git a/src/changelog/.2.x.x/4145_add_log4j_api_kotlin_to_bom.xml b/src/changelog/.2.x.x/4145_add_log4j_api_kotlin_to_bom.xml
new file mode 100644
index 0000000000..e78dfb520e
--- /dev/null
+++ b/src/changelog/.2.x.x/4145_add_log4j_api_kotlin_to_bom.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<entry xmlns="https://logging.apache.org/xml/ns"
+       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+       xsi:schemaLocation="
+           https://logging.apache.org/xml/ns
+           https://logging.apache.org/xml/ns/log4j-changelog-0.xsd"
+       type="added">
+    <issue id="4145" link="https://github.com/apache/logging-log4j2/issues/4145"/>
+    <issue id="4222" link="https://github.com/apache/logging-log4j2/pull/4222"/>
+    <description format="asciidoc">
+        Add `log4j-api-kotlin` to the Log4j Bill of Materials (`log4j-bom`).
+    </description>
+</entry>