log4j参考: 参考网址: http://www.iteye.com/topic/378077 http://www.cnblogs.com/eflylab/archive/2007/01/11/618001.html http://www.blogjava.net/hwpok/archive/2008/08/23/223891.html http://logging.apache.org/log4j/1.2/manual.html <官方> 发送email参考: http://dxx23.iteye.com/blog/1084401