Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-21437

Add an option to LogCaptureFeature to hide events

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 8.10
    • Fix Version/s: QualifiedToSchedule
    • Component/s: Tests

      Description

      Since NXP-9962 we can catch log and do assertion.
      This is interesting to test ERROR and WARN messages, in this case we don't want to have the CONSOLE appender output because it creates noise in the test output.

      There is no way to trick the log4j.xml.
      A workaround can be to change temporary the console thresold, but this hide all events.

      We need an additional option to @LogCaptureFeature.FilterOn like hideConsoleEvent=true to do this.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: