<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Thanks Dan,<div><br></div><div><a href="https://issues.jboss.org/browse/ARQ-454">https://issues.jboss.org/browse/ARQ-454</a></div><div><br></div><div>-Ove</div><div><br><div><div>On May 23, 2011, at 8:56 PM, Dan Allen wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">The JBoss AS manager API exposes properties to control the log level and target. These properties need to be exposed in the Arquillian configuration.<div><br></div><div><a href="http://anonsvn.jboss.org/repos/jbossas/projects/server-manager/tags/1.0.4.Final/src/main/java/org/jboss/jbossas/servermanager/ServerController.java">http://anonsvn.jboss.org/repos/jbossas/projects/server-manager/tags/1.0.4.Final/src/main/java/org/jboss/jbossas/servermanager/ServerController.java</a></div>

<div><br></div><div>You need to track down Ryan Campbell if you need a change in the ServerController to expose a flag to set the log output.</div><div><br></div><div>Btw, I would take this up on the Arquillian forum. Also, could you create a JIRA for this in Arquillian? You are absolutely correct that this needs to be addressed.<br>

<div><br></div><div>-Dan<br><br><div class="gmail_quote">On Mon, May 23, 2011 at 06:53, Ove Ranheim <span dir="ltr">&lt;<a href="mailto:oranheim@gmail.com">oranheim@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

<div style="word-wrap:break-word"><div><font color="#508E92"><font color="#000000">Hi,</font></font></div><div><font color="#508E92"><font color="#000000"><br></font></font></div><div>How is it possible to control console log output when using&nbsp;arquillian-jbossas-managed-6?</div>

<div><br></div><div>The tests are running just fine, but I'd like to route all output to console. The reason behind this is because Bamboo isn't able to pick up on target/jboss-6.0.0.Final/server/default/deploy/log/server.log. Therefor log output is required so Bamboo can catch exceptions being thrown.</div>

<div><font color="#508E92"><font color="#000000"><br></font></font></div><div><font color="#508E92"><font color="#000000">Any ideas folks.</font></font></div><div><font color="#508E92"><font color="#000000"><br></font></font></div>

<div><font color="#508E92"><font color="#000000">Cheers,</font></font></div><div><font color="#508E92"><font color="#000000">Ove</font></font></div><div><font color="#508E92"><font color="#000000"><br></font></font></div>

<div><font color="#508E92"><font color="#000000"><br></font></font></div><div><font color="#508E92"><font color="#000000"><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;color:rgb(127, 49, 145)">

<span style="color:#508e92">&lt;?</span><span style="color:#678e91">xml</span><span style="color:#000000"> </span>version<span style="color:#000000">=</span><span style="color:#393ffd">"1.0"</span><span style="color:#508e92">?&gt;</span></div>

<div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;min-height:15px"><br></div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;color:rgb(57, 63, 253)"><span style="color:#508e92">&lt;</span><span style="color:#678e91">arquillian</span><span style="color:#000000"> </span><span style="color:#7f3191">xmlns</span><span style="color:#000000">=</span>"<a href="http://jboss.com/arquillian" target="_blank">http://jboss.com/arquillian</a>"<span style="color:#000000"> </span><span style="color:#7f3191">xmlns:xsi</span><span style="color:#000000">=</span>"<a href="http://www.w3.org/2001/XMLSchema-instance" target="_blank">http://www.w3.org/2001/XMLSchema-instance</a>"</div>

<div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;color:rgb(57, 63, 253)"><span style="color:#000000">&nbsp; &nbsp; </span><span style="color:#7f3191">xsi:schemaLocation</span><span style="color:#000000">=</span>"<a href="http://jboss.org/schema/arquillian" target="_blank">http://jboss.org/schema/arquillian</a> <a href="http://jboss.org/schema/arquillian/arquillian_1_0.xsd" target="_blank">http://jboss.org/schema/arquillian/arquillian_1_0.xsd</a>"<span style="color:#508e92">&gt;</span></div>

<div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;min-height:15px"><br></div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;color:rgb(103, 142, 145)"><span style="color:#000000">&nbsp; &nbsp; </span><span style="color:#508e92">&lt;</span>engine<span style="color:#508e92">&gt;</span></div>

<div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;color:rgb(57, 63, 253)"><span style="color:#000000">&nbsp; &nbsp; &nbsp; &nbsp; </span><span style="color:#508e92">&lt;</span><span style="color:#678e91">property</span><span style="color:#000000"> </span><span style="color:#7f3191">name</span><span style="color:#000000">=</span>"deploymentExportPath"<span style="color:#508e92">&gt;</span><span style="color:#000000">target/</span><span style="color:#508e92">&lt;/</span><span style="color:#678e91">property</span><span style="color:#508e92">&gt;</span></div>

<div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;color:rgb(103, 142, 145)"><span style="color:#000000">&nbsp; &nbsp; </span><span style="color:#508e92">&lt;/</span>engine<span style="color:#508e92">&gt;</span></div>

<div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;min-height:15px"><br></div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;color:rgb(127, 49, 145)"><span style="color:#000000">&nbsp; &nbsp; </span><span style="color:#508e92">&lt;</span><span style="color:#678e91">container</span><span style="color:#000000"> </span>qualifier<span style="color:#000000">=</span><span style="color:#393ffd">"jbossas"</span><span style="color:#000000"> </span>default<span style="color:#000000">=</span><span style="color:#393ffd">"true"</span><span style="color:#508e92">&gt;</span></div>

<div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;color:rgb(103, 142, 145)"><span style="color:#000000">&nbsp; &nbsp; &nbsp; &nbsp; </span><span style="color:#508e92">&lt;</span>configuration<span style="color:#508e92">&gt;</span></div>

<div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#508e92">&lt;</span><span style="color:#678e91">property</span> <span style="color:#7f3191">name</span>=<span style="color:#393ffd">"jbossHome"</span><span style="color:#508e92">&gt;</span>target/<span style="text-decoration:underline">jboss</span>-6.0.0.Final<span style="color:#508e92">&lt;/</span><span style="color:#678e91">property</span><span style="color:#508e92">&gt;</span></div>

<div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#508e92">&lt;</span><span style="color:#678e91">property</span> <span style="color:#7f3191">name</span>=<span style="color:#393ffd">"httpPort"</span><span style="color:#508e92">&gt;</span>8280<span style="color:#508e92">&lt;/</span><span style="color:#678e91">property</span><span style="color:#508e92">&gt;</span></div>

<div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#508e92">&lt;</span><span style="color:#678e91">property</span> <span style="color:#7f3191">name</span>=<span style="color:#393ffd">"rmiPort"</span><span style="color:#508e92">&gt;</span>1299<span style="color:#508e92">&lt;/</span><span style="color:#678e91">property</span><span style="color:#508e92">&gt;</span></div>

<div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color:#508e92">&lt;</span><span style="color:#678e91">property</span> <span style="color:#7f3191">name</span>=<span style="color:#393ffd">"javaVmArguments"</span><span style="color:#508e92">&gt;</span>-Xmx512m -XX:MaxPermSize=128m -Djboss.service.binding.set=ports-02 -Darquillian.logging=system&nbsp;-</div>

<div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">Djava.util.logging.manager=org.jboss.logmanager.LogManager<span style="color:#508e92">&lt;/</span><span style="color:#678e91">property</span><span style="color:#508e92">&gt;</span></div>

<div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;color:rgb(103, 142, 145)"><span style="color:#000000">&nbsp; &nbsp; &nbsp; &nbsp; </span><span style="color:#508e92">&lt;/</span>configuration<span style="color:#508e92">&gt;</span></div>

<div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;color:rgb(57, 63, 253)"><span style="color:#000000">&nbsp; &nbsp; &nbsp; &nbsp; </span><span style="color:#508e92">&lt;</span><span style="color:#678e91">protocol</span><span style="color:#000000"> </span><span style="color:#7f3191">type</span><span style="color:#000000">=</span>"Servlet 3.0"<span style="color:#508e92">&gt;</span></div>

<div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;color:rgb(103, 142, 145)"><span style="color:#000000">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span><span style="color:#508e92">&lt;</span>configuration<span style="color:#508e92">&gt;</span></div>

<div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#508e92">&lt;</span><span style="color:#678e91">property</span> <span style="color:#7f3191">name</span>=<span style="color:#393ffd">"host"</span><span style="color:#508e92">&gt;</span><span style="text-decoration:underline">localhost</span><span style="color:#508e92">&lt;/</span><span style="color:#678e91">property</span><span style="color:#508e92">&gt;</span></div>

<div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#508e92">&lt;</span><span style="color:#678e91">property</span> <span style="color:#7f3191">name</span>=<span style="color:#393ffd">"port"</span><span style="color:#508e92">&gt;</span>8280<span style="color:#508e92">&lt;/</span><span style="color:#678e91">property</span><span style="color:#508e92">&gt;</span></div>

<div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;color:rgb(103, 142, 145)"><span style="color:#000000">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span><span style="color:#508e92">&lt;/</span>configuration<span style="color:#508e92">&gt;</span></div>

<div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#508e92">&lt;/</span><span style="color:#678e91">protocol</span><span style="color:#508e92">&gt;</span></div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;color:rgb(103, 142, 145)">

<span style="color:#000000">&nbsp; &nbsp; </span><span style="color:#508e92">&lt;/</span>container<span style="color:#508e92">&gt;</span></div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;min-height:15px">

<br></div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;color:rgb(103, 142, 145)"><span style="color:#508e92">&lt;/</span>arquillian<span style="color:#508e92">&gt;</span></div><div><span style="color:#508e92"><br>

</span></div><div><span style="color:#508e92"><br></span></div></font></font></div></div><br>_______________________________________________<br>
seam-dev mailing list<br>
<a href="mailto:seam-dev@lists.jboss.org">seam-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/seam-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/seam-dev</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br><div>Dan Allen</div>Principal Software Engineer, Red Hat | Author of Seam in Action<br>Registered Linux User #231597<br><br><div><a href="http://www.google.com/profiles/dan.j.allen#about" target="_blank">http://www.google.com/profiles/dan.j.allen#about</a><br>

<a href="http://mojavelinux.com/" target="_blank">http://mojavelinux.com</a><br><a href="http://mojavelinux.com/seaminaction" target="_blank">http://mojavelinux.com/seaminaction</a><br></div><br>
</div></div>
</blockquote></div><br></div></body></html>