Uploaded image for project: '[Read Only] - Hippo Repository'
  1. [Read Only] - Hippo Repository
  2. REPO-480

Include a utility class to temporarily in a running environment change the log-level for some logger

    XMLWordPrintable

Details

    • New Feature
    • Status: Closed
    • Normal
    • Resolution: Fixed
    • None
    • 2.24.00
    • None
    • None

    Description

      Typically, in unit tests, you want to test some misconfigured setup, that should not break the system, but will result in error or warning logs. You do not want these logs to be in the unit test output, as they are expected. We need a utility class that can temporarily change the log level for some method invocation, and then switch it back again

      Attachments

        Activity

          People

            fvlankvelt Frank van Lankvelt (Inactive)
            aschrijvers Ard Schrijvers
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: