Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-3000

Support propagation of executing testName to server

    XMLWordPrintableJSON

Details

    Description

      In case of large test suite running on CI server its hard to make out which logs were created due to execution of which testcase. If we have some way to propagate the testName to server then the testname can be exposed as part of MDC [1] and made part of logged statement

      Currently Sling Logging does not support MDC but at minimum we can have a filter which can log the test name extracted from HTTP Header allowing a user to correlate the logs with testcase failures

      [1] http://www.slf4j.org/manual.html#mdc

      Attachments

        1. SLING-3000-2.patch
          0.9 kB
          Chetan Mehrotra
        2. SLING-3000.patch
          9 kB
          Chetan Mehrotra

        Issue Links

          Activity

            People

              chetanm Chetan Mehrotra
              chetanm Chetan Mehrotra
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: