Release Notes
Release History
Version |
Date |
Description |
1.3.5 |
2025-01-31 |
This is a feature and maintenance release. Java 8 or later is required. |
1.3.4 |
2024-08-16 |
This is a feature and maintenance release. Java 8 or later is required. |
1.3.3 |
2024-06-30 |
This is a feature and maintenance release. Java 8 or later is required. |
1.3.2 |
2024-05-11 |
This is a feature and maintenance release. Java 8 or later is required. |
1.3.1 |
2024-03-16 |
This is a feature and maintenance release. Java 8 or later is required. |
1.3.0 |
2023-11-26 |
This is a feature and maintenance release. Java 8 or later is required. |
1.2 |
2014-07-11 |
This is a maintenance release containing bug fixes. Java 6 or later is required. |
1.1.3 |
2013-05-23 |
This is a maintenance release containing bug fixes. |
1.1.2 |
2013-03-20 |
This is a maintenance release containing bug fixes. |
Release 1.3.5 – 2025-01-31
Type |
Changes |
By |
 |
Javadoc is missing its Overview page. Thanks to Gary Gregory. |
ggregory |
 |
Remove -nouses directive from maven-bundle-plugin. OSGi package imports now state 'uses' definitions for package imports, this doesn't affect JPMS (from org.apache.commons:commons-parent:80). Thanks to Gary Gregory. |
ggregory |
 |
Bump org.apache.commons:commons-parent from 72 to 81 #285, #287, #295, #298, #303, #310, #339. Thanks to Gary Gregory, Dependabot. |
ggregory |
 |
Bump org.apache.commons:commons-lang3 from 3.16.0 to 3.17.0 #288 [test]. Thanks to Gary Gregory, Dependabot. |
ggregory |
 |
Bump log4j2.version from 2.23.1 to 2.24.3 #292, #299, #319, #328. Thanks to Gary Gregory, Dependabot. |
ggregory |
 |
Remove "cobertura" plugin, we use JaCoco, Cobertura is unmaintained. Thanks to Gary Gregory. |
ggregory |
Release 1.3.4 – 2024-08-16
Type |
Changes |
By |
 |
Fix factory loading from context class loader #280, #281. Fixes LOGGING-192. Thanks to Björn Kautler, Piotr Karwasz. |
pkarwasz |
 |
Bump org.apache.commons:commons-parent from 71 to 72. Thanks to Gary Gregory. |
ggregory |
 |
Bump org.slf4j:slf4j-api from 2.0.13 to 2.0.16 #276, #282. Thanks to Gary Gregory, Dependabot. |
ggregory |
Release 1.3.3 – 2024-06-30
Type |
Changes |
By |
 |
Update Log4j 2 OSGi imports #268. Fixes LOGGING-193. Thanks to Philippe Marschall. |
ggregory |
 |
Fix PMD UnnecessaryFullyQualifiedName in SimpleLog. Thanks to Gary Gregory. |
ggregory |
 |
Fix NullPointerException in SimpleLog#write(Object) on null input. Thanks to Gary Gregory. |
ggregory |
 |
Fix NullPointerException in SimpleLog#write(StringBuffer) on null input. Thanks to Gary Gregory. |
ggregory |
 |
Bump org.apache.commons:commons-parent from 69 to 71 #267. Thanks to Dependabot. |
ggregory |
Release 1.3.2 – 2024-05-11
Type |
Changes |
By |
 |
Add OSGi metadata to enable Service Loader Mediator #234. Fixes LOGGING-190. Thanks to Hannes Wellmann, Gary Gregory, Johan Compagner. |
ggregory |
 |
Apache commons logging shows 1.4 as latest release instead of 1.3.1. Fixes LOGGING-191. Thanks to Hannes Wellmann, Gary Gregory, Johan Compagner. |
ggregory |
 |
Deprecate org.apache.commons.logging.LogSource.jdk14IsAvailable. Thanks to Gary Gregory. |
ggregory |
 |
Bump org.apache.commons:commons-parent from 67 to 69 #240. Thanks to Dependabot. |
ggregory |
 |
Bump org.slf4j:slf4j-api from 2.0.12 to 2.0.13 #248. Thanks to Dependabot. |
ggregory |
Release 1.3.1 – 2024-03-16
Type |
Changes |
By |
 |
Add Maven property project.build.outputTimestamp for build reproducibility. Thanks to Gary Gregory. |
ggregory |
 |
Remove references to very old JDK and Commons Logging versions #201. Thanks to Elliotte Rusty Harold. |
ggregory |
 |
Update from Logj 1 to the Log4j 2 API compatibility layer #231. Thanks to Gary Gregory, Piotr P. Karwasz. |
ggregory |
 |
Allow Servlet 4 in OSGi environment #191. Thanks to Václav Haisman. |
ggregory |
 |
Fix generics warnings #213. Thanks to Elliotte Rusty Harold. |
ggregory |
 |
Fix Import-Package entry for org.slf4j #188. Fixes LOGGING-189. Thanks to Václav Haisman, Sebb, Hannes Wellmann, Gary Gregory, Piotr P. Karwasz. |
ggregory |
 |
Bump org.apache.commons:commons-parent from 65 to 67. Thanks to Dependabot. |
ggregory |
 |
Bump log4j2.version from 2.21.1 to 2.23.1 #187, #230. Thanks to Dependabot, Piotr P. Karwasz. |
ggregory |
 |
Bump org.slf4j:slf4j-api from 2.0.9 to 2.0.12 #207. Thanks to Dependabot. |
ggregory |
 |
Bump ch.qos.logback:logback-classic from 1.3.11 to 1.3.14 #212. Thanks to Dependabot, Gary Gregory. |
ggregory |
 |
Bump ch.qos.logback:logback-core from 1.3.11 to 1.3.14 #211. Thanks to Dependabot, Gary Gregory. |
ggregory |
 |
Bump com.h3xstream.findsecbugs:findsecbugs-plugin from 1.12.0 to 1.13.0. Thanks to Dependabot. |
ggregory |
 |
Bump logkit from 1.0.1 to 2.0 #32. Thanks to Dependabot. |
ggregory |
Release 1.3.0 – 2023-11-26
Type |
Changes |
By |
 |
Add support for Log4j API and SLF4J #177. Thanks to Piotr P. Karwasz. |
ggregory |
 |
Deprecate org.apache.commons.logging.impl.WeakHashtable without replacement. Thanks to Piotr P. Karwasz. |
ggregory |
 |
Deprecate and disable `Jdk13LumberjackLogger` and `Log4JLogger`. Fixes LOGGING-188. Thanks to Piotr P. Karwasz. |
pkarwasz |
 |
Deprecate and disable `AvalonLogger` and `LogKitLogger`. Fixes LOGGING-173. Thanks to SingingBush. |
pkarwasz |
 |
Add Automatic-Module-Name Manifest Header for Java 9 compatibility. Fixes LOGGING-165. |
britter |
 |
BufferedReader is not closed properly. Fixes LOGGING-163. Thanks to Kaloyan Spiridonov. |
ggregory |
 |
Remove redundant initializer #46. Fixes LOGGING-177. Thanks to Arturo Bernal. |
ggregory |
 |
Use a weak reference for the cached class loader #71. Thanks to Jakob van Kruijssen, Bruno P. Kinoshita, Gary Gregory. |
ggregory |
 |
Add more entries to .gitignore file #25. Thanks to xiaozhiliaoo. |
ggregory |
 |
Minor Improvements #34. Thanks to Arturo Bernal. |
ggregory |
 |
[StepSecurity] ci: Harden GitHub Actions #145. Thanks to step-security-bot, Gary Gregory. |
ggregory |
 |
Replace custom code with `ServiceLoader` call. Fixes LOGGING-185. Thanks to Piotr P. Karwasz. |
pkarwasz |
 |
Fix possible NPEs in LogFactoryImpl. Thanks to Gary Gregory. |
ggregory |
 |
Fix failing tests #180. Fixes LOGGING-185. Thanks to Piotr P. Karwasz. |
ggregory |
 |
Deprecate LogConfigurationException.cause in favor of getCause(). Thanks to Gary Gregory. |
ggregory |
 |
Fix SpotBugs [ERROR] High: Found reliance on default encoding in org.apache.commons.logging.LogFactory.initDiagnostics(): new java.io.PrintStream(OutputStream) [org.apache.commons.logging.LogFactory] At LogFactory.java:[line 1205] DM_DEFAULT_ENCODING. Thanks to Gary Gregory. |
ggregory |
 |
Fix SpotBugs [ERROR] Medium: Class org.apache.commons.logging.impl.WeakHashtable defines non-transient non-serializable instance field queue [org.apache.commons.logging.impl.WeakHashtable] In WeakHashtable.java SE_BAD_FIELD. Thanks to Gary Gregory. |
ggregory |
 |
Set java.logging as optional module #183. Thanks to Piotr P. Karwasz. |
ggregory |
 |
Fix SpotBugs [ERROR] Medium: Switch statement found in org.apache.commons.logging.impl.SimpleLog.log(int, Object, Throwable) where default case is missing [org.apache.commons.logging.impl.SimpleLog] At SimpleLog.java:[lines 505-522] SF_SWITCH_NO_DEFAULT. Thanks to Gary Gregory. |
ggregory |
 |
Deprecate org.apache.commons.logging.impl.Jdk13LumberjackLogger.dummyLevel without replacement. Thanks to Gary Gregory. |
ggregory |
 |
Bump Java from 6 to 8. Thanks to Gary Gregory. |
ggregory |
 |
Bump actions/cache from 2 to 3.0.10 #50, #77, #95, #98, #107, #110. Thanks to Dependabot, Gary Gregory. |
ggregory |
 |
Bump actions/checkout from 2.3.1 to 3.1.0, #24, #63, #75, #109. Thanks to Dependabot, Gary Gregory. |
ggregory |
 |
Bump actions/setup-java from 1.4.0 to 3.5.1 #21. Thanks to Dependabot, Gary Gregory. |
ggregory |
 |
Bump junit from 3.8.1 to 5.9.1 Vintage #23, #38. Thanks to Dependabot, Gary Gregory. |
ggregory |
 |
Bump clirr-maven-plugin from 2.2.2 to 2.8 #14. Thanks to Dependabot. |
ggregory |
 |
Bump findbugs-maven-plugin from 2.5.2 to 3.0.5 #8. Thanks to Dependabot. |
ggregory |
 |
Bump maven-failsafe-plugin from 2.12 to 3.0.0-M7 #31, #91. Thanks to Dependabot, Gary Gregory. |
ggregory |
 |
Bump spotbugs-surefire-plugin from 2.22.2 to 3.0.0-M5. Thanks to Gary Gregory. |
ggregory |
 |
Bump maven-dependency-plugin from 2.4 to 3.5.0 #29, #79, #117, #131. Thanks to Dependabot. |
ggregory |
 |
Bump maven-pmd-plugin from 3.3 to 3.19.0 #28, #90, #100, #103. Thanks to Dependabot. |
ggregory |
 |
Bump maven-assembly-plugin from 2.5 to 3.4.2 #30, #94, #96. Thanks to Dependabot. |
ggregory |
 |
Bump servlet-api from 2.3 to 2.5 #27. Thanks to Dependabot. |
ggregory |
 |
Bump maven-checkstyle-plugin from 2.7 to 3.2.1 #35, #101, #130. Thanks to Gary Gregory, Dependabot. |
ggregory |
 |
Bump spotbugs-maven-plugin from 4.1.4 to 4.7.2.1 #33, #70, #78, #93, #97, #102, #112. Thanks to Dependabot. |
ggregory |
 |
Bump spotbugs from 4.5.3 to 4.7.3 #81, #87, #92, #104, #115. Thanks to Dependabot. |
ggregory |
 |
Bump commons-parent from 52 to 65 #82, #106, #122, #126, #143. Thanks to Dependabot, Gary Gregory. |
kinow |
 |
Bump github/codeql-action from 1 to 2 #86. Thanks to Dependabot. |
kinow |
Release 1.2 – 2014-07-11
Type |
Changes |
By |
 |
Improve performance of LogFactory#getFactory() by calling Thread#currentThread()#getContextClassLoader()
directly instead of using reflection. As a consequence support for JDK 1.1 has been dropped. Fixes LOGGING-37. Thanks to Matthias Ernst, Archie Cobbs. |
tn |
 |
Fix SecurityAllowedTestCase when executed with OpenJDK 1.7 due to an additional required RuntimePermission. Fixes LOGGING-156. Thanks to Mikolaj Izdebski. |
tn |
 |
Fix javadoc to comply with javadoc tool from jdk 1.8. Fixes LOGGING-157. Thanks to Ville Skyttä. |
tn |
Release 1.1.3 – 2013-05-23
Type |
Changes |
By |
 |
Use "org.apache.commons.logging" as bundle symbolic name. Fixes LOGGING-151. Thanks to Krzysztof Daniel. |
tn |
Release 1.1.2 – 2013-03-20
Type |
Changes |
By |
 |
The jar manifest now contains proper OSGi-related metadata information. Fixes LOGGING-124. Thanks to Christian Schneider. |
tn |
 |
LogFactory and LogFactoryImpl will not swallow certain errors anymore (ThreadDeath
and VirtualMachineError). Fixes LOGGING-144. Thanks to Sebastian Bazley. |
tn |
 |
Improved thread-safety for several log adapters, including AvalonLogger, SimpleLog,
Log4JLogger, LogKitLogger. Fixes LOGGING-135. Thanks to Sebastian Bazley. |
tn |
 |
In case of a discovery failure now also the stacktrace of the cause will be
added to the diagnostic message. Fixes LOGGING-138. Thanks to Luke Lu. |
tn |
 |
Jdk14Logger now correctly uses the specified logger name. Fixes LOGGING-132. Thanks to Nathan Niesen. |
tn |
 |
Change scope of Jdk14Logger.log(Level, String, Throwable) to protected, allowing
subclasses to modify the logging output. Fixes LOGGING-133. Thanks to Shevek. |
tn |
 |
Properly synchronize access to protected static field LogFactory.nullClassLoaderFactory. Fixes LOGGING-146. Thanks to Sebastian Bazley. |
tn |
 |
Prevent potential deadlock scenario in WeakHashtable. Fixes LOGGING-119. Thanks to Nitzan Niv, Philippe Mouawad. |
tn |
 |
Potential missing privileged block for class loader. Fixes LOGGING-130. Thanks to Matthew P. Del Buono. |
sebb |
 |
LogFactoryImpl.setAttribute - possible NPE. Fixes LOGGING-145. |
sebb |
 |
Log4JLogger uses deprecated static members of Priority such as INFO. Fixes LOGGING-142. Thanks to Jingguo Yao. |
sebb |
 |
Static analysis suggests a number of potential improvements. Fixes LOGGING-128. Thanks to Peter Lawrey. |
sebb |
 |
SimpleLog.log - unsafe update of shortLogName. Fixes LOGGING-147. |
sebb |
 |
LogFactory.diagnosticPrefix and diagnosticsStream could be final. Fixes LOGGING-148. |
sebb |
|