Skip to content

Commit 4221342

Browse files
authored
Update pom.xml
1 parent 51fe70b commit 4221342

File tree

1 file changed

+18
-8
lines changed
  • logging-modules/splunk-with-log4j2

1 file changed

+18
-8
lines changed

logging-modules/splunk-with-log4j2/pom.xml

Lines changed: 18 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,13 @@
77
<artifactId>logging-modules</artifactId>
88
<version>1.0.0-SNAPSHOT</version>
99
</parent>
10+
1011
<groupId>com.splunk</groupId>
1112
<artifactId>log4j</artifactId>
1213
<version>0.0.1-SNAPSHOT</version>
1314
<name>log4j</name>
1415
<description>Demo project for Splunk with Spring Boot</description>
16+
1517
<properties>
1618
<java.version>17</java.version>
1719
<splunk-logging.version>1.8.0</splunk-logging.version>
@@ -44,7 +46,6 @@
4446
</exclusion>
4547
</exclusions>
4648
</dependency>
47-
4849
<dependency>
4950
<groupId>org.springframework.boot</groupId>
5051
<artifactId>spring-boot-starter-test</artifactId>
@@ -55,20 +56,29 @@
5556
<groupId>org.springframework.boot</groupId>
5657
<artifactId>spring-boot-starter-logging</artifactId>
5758
</exclusion>
59+
<exclusion>
60+
<groupId>org.slf4j</groupId>
61+
<artifactId>slf4j-api</artifactId>
62+
</exclusion>
63+
<exclusion>
64+
<groupId>org.slf4j</groupId>
65+
<artifactId>slf4j-log4j12</artifactId>
66+
</exclusion>
67+
<exclusion>
68+
<groupId>org.slf4j</groupId>
69+
<artifactId>jcl-over-slf4j</artifactId>
70+
</exclusion>
71+
<exclusion>
72+
<groupId>org.slf4j</groupId>
73+
<artifactId>logback-classic</artifactId>
74+
</exclusion>
5875
</exclusions>
5976
</dependency>
60-
6177
<dependency>
6278
<groupId>com.splunk.logging</groupId>
6379
<artifactId>splunk-library-javalogging</artifactId>
6480
<version>${splunk-logging.version}</version>
6581
</dependency>
66-
67-
<dependency>
68-
<groupId>org.springframework.boot</groupId>
69-
<artifactId>spring-boot-starter-log4j2</artifactId>
70-
<version>${spring-boot.version}</version>
71-
</dependency>
7282
</dependencies>
7383

7484
<build>

0 commit comments

Comments
 (0)