-
1. Re: Obtaining of the server log during test method execution
smikloso Feb 3, 2014 8:47 AM (in response to trohovsky)This will not be done in Arquillian Core for sure since it is totally out of scope of Arquillian Core itself. It could be however implemented in upcomming reporting / logging extension https://github.com/smiklosovic/arquillian-unified-recorder
Please direct your further requests to this thread Re: Re: Idea for Arquillian logging extension
However, this will be actual when 8 will come out [WFLY-280] Provide an operation to retrieve the last 10 errors from the log - JBoss Issue Tracker -
2. Re: Obtaining of the server log during test method execution
trohovsky May 15, 2014 8:59 AM (in response to smikloso)The problem with the pull request for [WFLY-280] Provide an operation to retrieve the last 10 errors from the log - JBoss Issue Tracker is that it is an extension of jboss-cli, so it does not provide an API that can be easily called within your application. Finally, I found a suitable tool for obtaining of messages from the server log. It is called Splitlog: http://triceo.github.io/splitlog/. I have successfully used it together with Arquillian. I just used ShrinkWrap resolver https://github.com/shrinkwrap/resolver to resolve Splitlog dependency and then merged it with the test archive. See how to use Splitlog in its documentation. Give it a try!