Skip to content

Instantly share code, notes, and snippets.

@meigesir
Created May 13, 2014 10:24
Show Gist options
  • Save meigesir/f6b3583f3fd11a9820e0 to your computer and use it in GitHub Desktop.
Save meigesir/f6b3583f3fd11a9820e0 to your computer and use it in GitHub Desktop.
spring中配置log4j
<!--Log4j日志监听器 -->
<listener>
<listener-class>org.springframework.web.util.Log4jConfigListener</listener-class>
</listener>
<context-param>
<param-name>log4jConfigLocation</param-name>
<param-value>classpath:config/log4j.xml</param-value>
</context-param>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment