嗨,大家好,我在Spring 5中使用Log4j时感到困惑。过去我曾经在Spring中使用Log4j。Spring 5如何使用log4j
<context-param>
<param-name>log4jConfigLocation</param-name>
<param-value>/WEB-INF/config/log4j.properties</param-value>
</context-param>
<listener>
<listener-class>org.springframework.web.util.Log4jConfigListener</listener-class>
</listener>
而现在,我想在春天5中使用Log4j,但目前还没有命名的类“org.springframework.web.util.Log4jConfigListener”。我能怎么做?
你的意思是代码与春季5和log4j? – edwin