Content deleted Content added
→Comparing Features: Rm "recomendations". WP is not a review site or a collection of guides to software technologies. |
Improve style of headings |
||
Line 1:
==Introduction
[[data logging|Logging]] is a common issue for most development teams. There have been several frameworks developed to ease and standardize the process of logging for the [[Java platform]]. This page covers general purpose logging frameworks. There are other logging frameworks, toolkits and libraries like [http://aopclsuite.sourceforge.net/tracing.html Tracing Class Loader] but that is for another topic.
==Functionality
Logging a message is broken into three major pieces: the Logger, Formatter and the Appender (Handler). The Logger is responsible for capturing the message to be logged, along with certain meta-data like level, and passing that to the logging framework. After receiving the message, the logging framework calls the Formatter on the message. The Formatter accepts an object and formats it for proper logging. The logging framework then hands the formatted message to the appropriate Appender for disposition of the message. This might include displaying on a console, writing to disk, appending to a database, or notification via email.
|