Log4j2 配置详解请见: http://www.cnblogs.com/hafiz/p/6170702.html 使用教程: http://www.cnblogs.com/lzb1096101803/p/5796849.html