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

With JUnit listener, redirectTestOutputToFile is ignored

    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

          People

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

            Dates

              Created:
              Updated:
              Resolved: