Skip to content

Commit

Permalink
logabck slf4j fixes to start project
Browse files Browse the repository at this point in the history
  • Loading branch information
vis-86 committed Jan 22, 2024
1 parent 4e6c82f commit c05ccc7
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 6 deletions.
12 changes: 9 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -268,15 +268,21 @@
<artifactId>slf4j-api</artifactId>
<version>${slf4j.version}</version>
</dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-slf4j-impl</artifactId>
<version>2.22.1</version>
</dependency>

<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-classic</artifactId>
<version>1.3.12</version>
</dependency>
<dependency>
<groupId>org.logback-extensions</groupId>
<artifactId>logback-ext-spring</artifactId>
<version>0.1.5</version>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-core</artifactId>
<version>1.3.12</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
Expand Down
8 changes: 6 additions & 2 deletions superfly-web/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -147,8 +147,12 @@
<artifactId>logback-classic</artifactId>
</dependency>
<dependency>
<groupId>org.logback-extensions</groupId>
<artifactId>logback-ext-spring</artifactId>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-core</artifactId>
</dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-slf4j-impl</artifactId>
</dependency>
<dependency>
<groupId>cglib</groupId>
Expand Down
2 changes: 1 addition & 1 deletion superfly-web/src/main/webapp/WEB-INF/web.xml
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@
</context-param>

<listener>
<listener-class>ch.qos.logback.ext.spring.web.LogbackConfigListener</listener-class>
<listener-class>ch.qos.logback.classic.servlet.LogbackServletContextListener</listener-class>
</listener>
<listener>
<listener-class>com.payneteasy.superfly.web.spring.CustomContextLoaderListener</listener-class>
Expand Down

0 comments on commit c05ccc7

Please sign in to comment.