1. log4j配置例子

http://javapub.iteye.com/blog/866664