Skip to content

Commit b302732

Browse files
Make slf4j work along with log4j2 (#123)
1 parent 54232ec commit b302732

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

pom.xml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,11 @@
123123
<artifactId>log4j-core</artifactId>
124124
<version>${log4j.version}</version>
125125
</dependency>
126+
<dependency>
127+
<groupId>org.apache.logging.log4j</groupId>
128+
<artifactId>log4j-slf4j-impl</artifactId>
129+
<version>${log4j.version}</version>
130+
</dependency>
126131
<dependency>
127132
<groupId>org.apache.logging.log4j</groupId>
128133
<artifactId>log4j-api</artifactId>

powertools-logging/pom.xml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,10 @@
5858
<groupId>org.apache.logging.log4j</groupId>
5959
<artifactId>log4j-core</artifactId>
6060
</dependency>
61+
<dependency>
62+
<groupId>org.apache.logging.log4j</groupId>
63+
<artifactId>log4j-slf4j-impl</artifactId>
64+
</dependency>
6165
<dependency>
6266
<groupId>org.apache.logging.log4j</groupId>
6367
<artifactId>log4j-api</artifactId>

0 commit comments

Comments
 (0)