Skip to content

Commit ac1589b

Browse files
pankajagrawal16jeromevdl
authored andcommitted
Make slf4j work along with log4j2 (aws-powertools#123)
1 parent cf00a0b commit ac1589b

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
@@ -124,6 +124,11 @@
124124
<artifactId>log4j-core</artifactId>
125125
<version>${log4j.version}</version>
126126
</dependency>
127+
<dependency>
128+
<groupId>org.apache.logging.log4j</groupId>
129+
<artifactId>log4j-slf4j-impl</artifactId>
130+
<version>${log4j.version}</version>
131+
</dependency>
127132
<dependency>
128133
<groupId>org.apache.logging.log4j</groupId>
129134
<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)