Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.6, Nightly Builds
-
None
Description
The current version of Commons Configuration always adds a default error listener that logs internal errors. This causes an exception to be logged when, for instance, an optional include from a DefaultConfigurationBuilder is not found. The default error listener can be removed with clearErrorListeners(), but this is not easily possible when recursively including a DefaultConfigurationBuilder config in a DefaultConfigurationBuilder config.
It should be possible to disable the default logging of internal errors, or at least disable the default logging of non-existent optional configuration files.