[arquillian-issues] [JBoss JIRA] (ARQ-53) Research possibility of redirecting log statements back to client

Vineet Reynolds (Commented) (JIRA) jira-events at lists.jboss.org
Sun Oct 9 05:58:16 EDT 2011


    [ https://issues.jboss.org/browse/ARQ-53?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12633304#comment-12633304 ] 

Vineet Reynolds commented on ARQ-53:
------------------------------------

Support for this is possibly dependent on the container. For example, building support for this feature in Glassfish, might be easy, as the existing Arquillian integration for remote Glassfish uses the REST. The Glassfish REST interface allows for retrieval of the domain log file contents using the view-log (Log Viewer) resource (exposed at http://adminhost:adminpost/management/domain/view-log , in the case of a Glassfish domain containing only a DAS). It also allows for log file deltas to be fetched using the "X-Text-Append-Next" header.

Likewise, similar features must exist in other containers operated in remote mode, so that the container log contents during test execution can be reproduced at the client. This might not be necessary for embedded containers (definitely not for embeddded Glassfish), as they typically operate in the same JVM as the client.
                
> Research possibility of redirecting log statements back to client
> -----------------------------------------------------------------
>
>                 Key: ARQ-53
>                 URL: https://issues.jboss.org/browse/ARQ-53
>             Project: Arquillian
>          Issue Type: Feature Request
>          Components: Test Harness Integration, Test Protocol SPIs and Implementation
>            Reporter: Aslak Knutsen
>            Priority: Minor
>             Fix For: 1.1.0.CR1
>
>
> When running in remote containers all system.out/err and log statements done in the testcase are written to the server log.
> It should be possible to catch this and redirect them back to the client..

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the arquillian-issues mailing list