[arquillian-issues] [JBoss JIRA] Commented: (ARQ-454) Console log output in Arquillian and JBoss Container Managed 6

Aslak Knutsen (JIRA) jira-events at lists.jboss.org
Tue May 24 11:54:01 EDT 2011


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

Aslak Knutsen commented on ARQ-454:
-----------------------------------

ServerController only forks the JVM where JBoss is running. Having server.log rerouted to another process's console out would require some kind of log4j network logger plugin.. 

A simpler solution is probably to configure your jboss servers logging to log what you need from server.log to the console logger, which will end up in the ServerControllers inputstream.. /conf/login-config.xml

Not sure if this can be done from the command line, but if it can, you can use the javaVmArguments in the ContianerConfiguration to pass over the appropriate parameters to the JBoss jvm.

> Console log output in Arquillian and JBoss Container Managed 6
> --------------------------------------------------------------
>
>                 Key: ARQ-454
>                 URL: https://issues.jboss.org/browse/ARQ-454
>             Project: Arquillian
>          Issue Type: Enhancement
>      Security Level: Public(Everyone can see) 
>          Components: JBoss Containers
>    Affects Versions: 1.0.0.Alpha5
>            Reporter: Ove Ranheim
>
> It should be possible to configure console log output in in arquillian.xml, so the logger would redirected server.log to console output. This would require a change in ServiceController: http://anonsvn.jboss.org/repos/jbossas/projects/server-manager/tags/1.0.4.Final/src/main/java/org/jboss/jbossas/servermanager/ServerController.java
> For Bamboo users; Bamboo Jobs are sniffing on the console log output and is sensitive about that, so to get proper integration tests running, this is a requirement.
> This issue should probably be raised with Ryan Campbell.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the arquillian-issues mailing list