ch.qos.logback.ext.spring.web.LogbackConfigListener 在那个jar包下
kill_bug 提问于:2018-11-12
0 0

web.xml

   <!--logback配置-->
    <context-param>
        <param-name>logbackConfigLocation</param-name>
        <param-value>classpath:logback.xml</param-value>
    </context-param>
    <listener>
        <listener-class>ch.qos.logback.ext.spring.web.LogbackConfigListener</listener-class>
    </listener>

找不到ch.qos.logback.ext.spring.web.LogbackConfigListener,在那个包里?

  • 所有回答
xingfu2017 回答于:2018-11-12
0 0

maven依赖

<dependency>
    <groupId>org.logback-extensions</groupId>
    <artifactId>logback-ext-spring</artifactId>
    <version>0.1.4</version>
</dependency>
我来回答    ch.qos.logback.ext.spring.web.LogbackConfigListener 在那个jar包下