org.apache.log4j.PatternLayout的输出格式
API手册的介绍:https://logging.apache.org/log4j/1.2/apidocs/org/apache/log4j/PatternLayout.html
这个bolg翻译了一下:http://blog.csdn.net/guoquanyou/article/details/5689652
常用
%d{yyyy-MM-dd HH:mm:ss.SSS} 时间
%p 优先级
[%t] [线程名]
%m 日志内容
%n 换行