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

Should be possible to disable default error log listener

    XMLWordPrintableJSON

    Details

    • 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

      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

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

              Dates

              • Created:
                Updated:
                Resolved: