gemmellr commented on PR #4816: URL: https://github.com/apache/activemq-artemis/pull/4816#issuecomment-1933717495
I can think of a couple nicer routes that would likely also be quicker/easier to actually use. First, the build is already set up such that the _**maven.test.redirectTestOutputToFile**_ standard config property controls whether the test output is written to file or not. Just run e.g. _**mvn test -Dmaven.test.redirectTestOutputToFile**_ and the test output is then written to files in _target/surefire-reports/_ This is what I use when I want a file, or more often just to not see the rather spammy test output as I am more interested in the results at the time. To make it easier to use if not remembering the property, when I removed the hard coded config that prevented using the standard prop [ I also set it up so that the property is actually unnecessarily defined in the pom already](https://github.com/apache/activemq-artemis/commit/0cdd0c8bd9050e203799cc0cbfa3f1d055fb7b26), giving a quick way to figure it out from the pom without going to read the actual plugin docs. Alternatively, the log4 test config file used is itself set by a property in the pom. That can presumably be updated, so rather than comment the config in/out in the regular file, a second file could be added that had the desired config and could just be specified when needed. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: gitbox-unsubscr...@activemq.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org