使用log4cxx https://blog.csdn.net/cugwuhan2014/article/details/94396170?utm_medium=distribute.pc_relevant.none-task-blog-baidujs_title-0&spm=1001.2101.3001.4242 https://blog.csdn.net/u012632043/article/details/79746573 http://blog.sina.com.cn/s/blog_a459dcf501013mr1.html 编译log4cxx http://blog.sina.com.cn/s/blog_a459dcf501013tbn.html