Skip to content

Commit

Permalink
Merge pull request #1931 from dadoonet/slf4j-fix
Browse files Browse the repository at this point in the history
Missing SL4J provider message
  • Loading branch information
dadoonet authored Sep 13, 2024
2 parents 779a38c + 8e562dc commit b10d526
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 15 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ target
.project
.idea
*.iml
/.run
/logs/
/venv/
/contrib/docker-compose-example-elasticsearch/config/idx/_status.json
Expand Down
11 changes: 11 additions & 0 deletions .run/Template JUnit.run.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<component name="ProjectRunConfigurationManager">
<configuration default="true" type="JUnit" factoryName="JUnit">
<option name="MAIN_CLASS_NAME" value="" />
<option name="METHOD_NAME" value="" />
<option name="TEST_OBJECT" value="class" />
<option name="VM_PARAMETERS" value="-ea -Djava.util.logging.manager=org.apache.logging.log4j.jul.LogManager" />
<method v="2">
<option name="Make" enabled="true" />
</method>
</configuration>
</component>
5 changes: 5 additions & 0 deletions cli/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,11 @@
<scope>test</scope>
</dependency>

<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-slf4j-impl</artifactId>
</dependency>

</dependencies>

<build>
Expand Down
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 b10d526

Please sign in to comment.