I'm writing a Jenkins plugin, and testing it using mvn verify
and JenkinsRule
. So far so good, but I'd like to be able to quieten the output; it's pages per test. What kind of config file do I use, and where do I put it?
I've tried a suitable log4j.properties (and just to be sure, a logging.properties) in src/test/resources (and thus target/test-classes); I've tried putting them in target/jenkins-for-test/WEB-INF/classes, that didn't help either.
In case it jogs anyone's memory, the output I'm trying to suppress are things like
Feb 08, 2014 2:26:40 PM jenkins.InitReactorRunner$1 onAttained
INFO: Started initialization
Feb 08, 2014 2:26:40 PM jenkins.InitReactorRunner$1 onAttained
INFO: Listed all plugins
and
Feb 08, 2014 2:26:44 PM hudson.PluginWrapper stop
INFO: Stopping javadoc
Feb 08, 2014 2:26:44 PM hudson.PluginWrapper stop
INFO: Stopping maven-plugin