Skip to content

Commit

Permalink
Missing SL4J provider message
Browse files Browse the repository at this point in the history
This removes the message:

```
SLF4J: No SLF4J providers were found.
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See https://www.slf4j.org/codes.html#noProviders for further details.
SLF4J: Class path contains SLF4J bindings targeting slf4j-api versions 1.7.x or earlier.
SLF4J: Ignoring binding found at [jar:file:/usr/local/src/fscrawler-distribution-2.10-20230501.083424-195/fscrawler-distribution-2.10-SNAPSHOT/lib/log4j-slf4j-impl-2.20.0.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See https://www.slf4j.org/codes.html#ignoredBindings for an explanation.
```

Closes #1647.
  • Loading branch information
dadoonet committed Sep 13, 2024
1 parent 3390944 commit 46aa199
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 14 deletions.
6 changes: 1 addition & 5 deletions framework/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -80,11 +80,7 @@
</dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-1.2-api</artifactId>
</dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-slf4j-impl</artifactId>
<artifactId>log4j-slf4j2-impl</artifactId>
</dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -705,7 +705,7 @@
</dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-slf4j-impl</artifactId>
<artifactId>log4j-slf4j2-impl</artifactId>
<version>${log4j.version}</version>
<optional>true</optional>
</dependency>
Expand Down
8 changes: 0 additions & 8 deletions test-framework/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -35,14 +35,6 @@
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-core</artifactId>
</dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-1.2-api</artifactId>
</dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-slf4j-impl</artifactId>
</dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-jcl</artifactId>
Expand Down

0 comments on commit 46aa199

Please sign in to comment.