Apache Commons Logging: Difference between revisions

Content deleted Content added
m Task 70: Update syntaxhighlight tags - remove use of deprecated <source> tags
m Example: "Nonexistant" -> "Nonexistent", "non-existent" -> "nonexistent"
 
(9 intermediate revisions by 8 users not shown)
Line 1:
{{Short description|Logging model and program}}
{{Infobox software
| name = Apache Commons Logging
Line 6 ⟶ 7:
| developer = [[Apache Software Foundation]]
| released =
| latest release version = 1.23.4
| latest release date = {{releaseStart date and age|2024|201408|0716}}
| latest preview version =
| latest preview date =
| operating system = [[Cross-platform]]
| repo = {{URL|https://github.com/apache/commons-logging}}
| programming language = [[Java (programming language)|Java]]
| genre = [[Logging Tool]]
Line 18 ⟶ 19:
}}
 
'''Apache Commons Logging''' (previously known as '''Jakarta Commons Logging''' or '''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]] implementations over some other tools.<ref name=":ac">{{Cite web|url = http://commons.apache.org/proper/commons-logging/|title = commons logging|access-date = |accessdate = 12 February 2016|website = Apache.org|publisher = Apache|last = |first = }}</ref><ref name=":ijcliwas_2">{{Cite book|title = Integrating Jakarta Commons Logging with IBM WebSphere Application Server V5|url=http://www-01.ibm.com/support/docview.wss?uid=swg27004610&aid=1|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|access-date = |accessdate = 12 February 2016|website = Apache.org|publisher = Apache|last = |first = }}</ref>
 
== Log level ==
Line 45 ⟶ 46:
| '''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–122}}</ref>
 
== Configuration ==
Line 118 ⟶ 119:
try
{
Class.forName("com.cascadetg.NonexistantClassNonexistentClass");
} catch (Exception e)
{
log.warn("Can't find a non-existentnonexistent class!");
}
 
Line 163 ⟶ 164:
{{Portal|Computer programming|Free and open-source software}}
*[[log4j]]
*[[Chainsaw (log file viewer)]]
*{{GitHub|https://github.com/apache/commons-logging}}
 
Line 178 ⟶ 179:
[[Category:Log file formats]]
[[Category:Software using the Apache license]]
[[Category:Apache Commons|Logging]]