Uploaded image for project: 'Hippo CMS'
  1. Hippo CMS
  2. CMS-10708

Provide (log4j2) Log4jInterceptor test utility class to suppress and/or capture log events during unit tests

    XMLWordPrintable

Details

    • New Feature
    • Status: Closed
    • Normal
    • Resolution: Fixed
    • None
    • 12.0.0, testutils-1.0.0
    • None
    • None
    • Pulsar
    • Platform Sprint 154

    Description

      With the upgrade to Log4J2, see CMS-10707, the current Log4jListener (CMS-10653) and ExecuteOnLogLevel (REPO-480) classes needed to be rewritten.
      As Log4J2 provides better ways to intercept log events dynamically, a new solution has been crafted: Log4jInterceptor.
      This class now replaces both the Log4jListener and ExecuteOnLogLevel classes, which have been dropped (and all their usages replaced).
      Extensive usage instructions are provided through the Log4jInterceptor class level javadocs.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              adouma Ate Douma (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: