Skip to content

Commit

Permalink
Fix #57 to exclude all slf4j artifacts (#58)
Browse files Browse the repository at this point in the history
  • Loading branch information
zhfeng authored Sep 28, 2022
1 parent c429923 commit 01b667a
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
12 changes: 12 additions & 0 deletions runtime/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,22 @@
<dependency>
<groupId>org.apache.shardingsphere</groupId>
<artifactId>shardingsphere-jdbc-core</artifactId>
<exclusions>
<exclusion>
<groupId>org.slf4j</groupId>
<artifactId>*</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.apache.shardingsphere</groupId>
<artifactId>shardingsphere-infra-common</artifactId>
<exclusions>
<exclusion>
<groupId>org.slf4j</groupId>
<artifactId>*</artifactId>
</exclusion>
</exclusions>
</dependency>
</dependencies>
<build>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
package org.slf4j.bridge;

public class SLF4JBridgeHandler {
public static void removeHandlersForRootLogger() {
}

public static void install() {
}
}

0 comments on commit 01b667a

Please sign in to comment.