I've created a small Arquillian extension to adjust the logging configuration of the container on a per test basis. It's a RemoteLoadableExtension with some @Observers of Before/After event - that adds/removes a new FileAppender (Log4j) for each test case, so that logs are redirected into a log file per test.
This works great for in-container tests, but not for @RunAsClient tests.
Is there someway to also trigger these events in the container for client side tests?
Is this something that can be done with Commands? - I've probed the Arquillian src but I don't quite understand the role of Commands, and can't find any docs or examples of their use.