Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.9
-
None
-
None
Description
Commons Configuration uses Commons Logging as logging framework (which is fine).
Some methods of the public API reference logger objects; for instance, a specific logger can be set for each configuration instance. This is problematic because the logging framework cannot be changed without breaking binary compatibility. Even if there was a new major release of Commons Logging, we could not switch to this new version.
As a solution a minimum logging abstraction can be created, e.g. a class ConfigurationLogger. This class can be exposed in the public API. Internally, it still delegates to Commons Logging.