-
Type:
Improvement
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 1.6, Nightly Builds
-
Fix Version/s: 1.7
-
Component/s: Events & Notifications
-
Labels:None
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.