流程图
图示1

-
Both Logger and Handlers may use logging Levels and (optionally) Filters to decide if they are interested in a particular LogRecord.
-
A Handler can (optionally) use a Formatter to localize and format the message before publishing it to an I/O stream.
|
图示2

-
Some Handlers may direct output to other Handlers.
|
结构
Java logging
Java Logging
流程
参考资料
-
J2SE文档与Logging相关内容
- http://blog.sina.com.cn/s/blog_457567880100kffd.html
一年前这个地址讲述了当时Java阵营下的Log组件,并比较了log4j,java
logging,logback,slf4j,Apache Common logging项目的比较,并提出的今后日志框架的选型会是Log4J与LogBack的协同
- http://wenku.baidu.com/view/e65323c42cc58bd63186bd3e.html
- http://logback.qos.ch/
Log4J完整的文档是需要收费的而logback是免费所有文档