log4j配置
1、log4j配置如下
<?xml version="1.0" encoding="UTF-8"?>
2、log4j2配置如下
<?xml version="1.0" encoding="UTF-8"?>