Skip to content

Commit

Permalink
Logging: make SLF4J record to JCL
Browse files Browse the repository at this point in the history
Tomcat uses Java Commons Logging. With this change, SLF4J (used by our application) should hook into that.

This intends to make the logs generated by our app visible in Tomcat's logs.
  • Loading branch information
guusdk committed Sep 19, 2024
1 parent b12f3f1 commit 97d1337
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -229,9 +229,15 @@
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>jcl-over-slf4j</artifactId>
<artifactId>slf4j-jcl</artifactId>
<version>${slf4j.version}</version>
</dependency>
<dependency>
<groupId>commons-logging</groupId>
<artifactId>commons-logging</artifactId>
<version>1.3.0</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.json</groupId>
<artifactId>json</artifactId>
Expand Down

0 comments on commit 97d1337

Please sign in to comment.