DZone Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world

yuan has posted 7 posts at DZone. View Full User Profile

Spring 应用中添加log4j 配置

  • submit to reddit
        // description of your code here

<!-- 定义一个key name, 这个key name 在运行时指向当前web app的根目录 --->
  <!-- 定义一个log4j 配置文件的路径名称 -->
  <!-- 使用listener 配置 log4j  -->