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

    • Type: New Feature
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 12.0.0, testutils-1.0.0
    • Component/s: None
    • Labels:
      None
    • Similar issues:
    • Processed by team:
      Platform
    • Sprint:
      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

              • Assignee:
                Unassigned
                Reporter:
                adouma Ate Douma
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: