参考路径: https://www.cnblogs.com/wenbronk/p/6529161.html
http://blog.csdn.net/qq173684423/article/details/53611906
http://blog.csdn.net/foreverling/article/details/51385128
http://blog.csdn.net/longaohun/article/details/6782046
不管是log4j或者slf4j都是步骤都是对应的依赖加入,然后在wen.xml中配置需要加载的监听和配置文件的地址,他们都有properties和xml配置的两种方式,
这两个配置文件的目的都是设定参数,告诉系统应该记录什么级别的日志,日志的期限,名字,路径,什么时候回滚,等等
http://blog.csdn.net/qq173684423/article/details/53611906
http://blog.csdn.net/foreverling/article/details/51385128
http://blog.csdn.net/longaohun/article/details/6782046
不管是log4j或者slf4j都是步骤都是对应的依赖加入,然后在wen.xml中配置需要加载的监听和配置文件的地址,他们都有properties和xml配置的两种方式,
这两个配置文件的目的都是设定参数,告诉系统应该记录什么级别的日志,日志的期限,名字,路径,什么时候回滚,等等