Apache Commons Logging: Difference between revisions

Content deleted Content added
No edit summary
m Typos and general fixes using AWB
Line 16:
| website = http://commons.apache.org/proper/commons-logging/
}}
'''Apache Commons Logging''' (previously known as '''Jakarta Commons Logging (JCL)''') is a [[Java platform|Java]]-based [[data logging|logging]] utility and a programming model for logging and for other toolkits. It provides [[Application programming interface|API]]s, log implementations, and [[Adapter pattern|wrapper]] implemetationsimplementations over some other tools.<ref name=":ac">{{Cite web|url = http://commons.apache.org/proper/commons-logging/|title = commons logging|date = |accessdate = 12 February 2016|website = Apache.org|publisher = Apache|last = |first = }}</ref><ref name=":ijcliwas_2">{{Cite book|title = Intergrating Jakarta Commons Logging with IBM WebSphere Application Server V5|last = Zavala|first = D.A.|last2 = Lau| first2 = Y.C.| publisher = IBM corporation|year = 2004|___location = |volume = |pages = 2}}</ref><ref name=":ac_c">{{Cite web|url = http://commons.apache.org/proper/commons-logging/guide.html|title = contents|date = |accessdate = 12 February 2016|website = Apache.org|publisher = Apache|last = |first = }}</ref>
 
== JCL log level ==
The following table defines the log levels and messages in JCL, in decreasing order of severity. The left column lists the log level designation in Jand the right column provides a brief description of each log level.
Line 42 ⟶ 43:
| '''trace'''
| Most detailed information. Expect these to be written to logs only.
|}<ref name=":ac_c"/><ref name=":ajc_120">{{Cite book|title = Apache Jakarta Commons - Reusable Java Components|last = Iverson|first = W.|publisher = Pearson Education, Inc.|year = 2005|___location = Crawfordsville, Indiana, USA|volume = |pages = 120-122120–122}}</ref>
 
==Configuration==
Two basic abstractions, Log and LogFactory, are used in JCL.<ref name=":ac_c"/>
 
==Example==
Sample code may look like as follows:
Line 155 ⟶ 157:
}
}
</source><ref name=":ajc_120"/>
 
== See also ==
Line 161 ⟶ 163:
*[[log4j]]
*[[Chainsaw (log file viewer)]]
* {{GitHub|https://github.com/apache/commons-logging/commits?author=costinm} }
 
==References==
{{Reflist}}
 
==External links==
* {{Official website|http://commons.apache.org/proper/commons-logging/}}