maven log4g 用法

    <dependency>
            <groupId>log4j</groupId>
            <artifactId>log4j</artifactId>
            <version>1.2.17</version>
        </dependency>

jar  包

第二步在该目录下配制log4j.properties

原文地址:https://www.cnblogs.com/leonlee/p/6253263.html