Uploaded image for project: 'Commons Configuration'
  1. Commons Configuration
  2. CONFIGURATION-439

Should be possible to disable default error log listener

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.6, Nightly Builds
    • 1.7
    • Events & Notifications
    • 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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            miken Mike Noordermeer
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: