SpringMVC 配置log4j

时间:2022-04-27 10:56:08

log4j.properties相关

http://www.cnblogs.com/ITEagle/archive/2010/04/23/1718365.html

http://www.cnblogs.com/alipayhutu/archive/2012/06/21/2558249.html

注意,如果只想对某些包操作,那么:log4j.logger.com.hutu=info, stdout,表示该日志对package com.hutu生效

web.xml相关

http://www.cnblogs.com/v-weiwang/p/4814050.html