<dependency> <groupId>log4j</groupId> <artifactId>log4j</artifactId> <version>1.2.17</version> </dependency>
jar 包
第二步在该目录下配制log4j.properties