Uploaded image for project: 'Maven Surefire'
  1. Maven Surefire
  2. SUREFIRE-1268

With JUnit listener, redirectTestOutputToFile is ignored

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    Description

      When specifying, according to this doc, a JUnit listener, the test output is sent to STDOUT, even though redirectTestOutputToFile is set to true.

      This happens with log4j2 configuration for SYSTEM_OUT, regular System.out.println works fine.

      With no properties element, redirectTestOutputToFile is honored.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            tibordigana Tibor Digana
            ilgrosso Francesco Chicchiriccò
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment