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

Various information is written to stdout instead of log which is not embedder-friendly

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.4
    • None
    • None

    Description

      The information (known to me) written to stdout in maven-surefire-plugin-2.2 and surefire-booter-2.0 is:

      • SurefireBooter writes "Forking command line..." if debug is enabled
      • SurefireBooter redirects stdout and stderr of forked process to stdout (this one is most serious, I think)
      • SurefirePlugin outputs summary and/or text report to console (I know it can be switched off and/or written to file, but I would like to have it written to log)

      It is important to have all this information written to log instead of stdout, because information is "lost" if written to console and embedder is used (two or more embedders may run and confuse their output) and it is also important to be able to align such information with information already logged.

      Attachments

        Activity

          People

            Unassigned Unassigned
            src Stepan Roh
            Votes:
            2 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: