[
https://issues.apache.org/jira/browse/SLING-3000?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13733335#comment-13733335
]
Bertrand Delacretaz commented on SLING-3000:
--------------------------------------------
I have committed a slightly modified patch in http://svn.apache.org/r1511673 ,
putting the filter in the tools bundle alongside the other classes.
Please cross-check and close this issue if ok - thanks for your contribution!
> Support propagation of executing testName to server
> ---------------------------------------------------
>
> Key: SLING-3000
> URL: https://issues.apache.org/jira/browse/SLING-3000
> Project: Sling
> Issue Type: Improvement
> Components: Testing
> Affects Versions: org.apache.sling.testing.tools 1.0.6
> Reporter: Chetan Mehrotra
> Priority: Minor
> Attachments: SLING-3000.patch
>
>
> 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
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira