http://blog.sina.com.cn/s/blog_520998920100af7h.html
1、添加log4jar包(可用配置maven下载lib)
2、配置log4j.properties:
<dependency>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
<version>1.2.9</version>
</dependency>
两种方式配置
http://blog.sina.com.cn/s/blog_520998920100af7h.html
1、添加log4jar包(可用配置maven下载lib)
2、配置log4j.properties:
<dependency>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
<version>1.2.9</version>
</dependency>
两种方式配置