title: soapUI with Maven from IntelliJ
body: <p>I have a soapUI 4.5.2 project that I run using Maven 3.0.5 through IntelliJ 12. This actually works great. All of the tests are run and I have my pom file configured to write log files exactly where I want them. The issue that I am running into is this. soapUI is writing a lot of data to the console and I can't seem to trim that back. I have tried my own log4j settings: </p>
  
  <pre><code># Print info for the root logger
  log4j.rootLogger=ERROR, stdout
  log4j.logger.httpclient.wire.header=ERROR
  log4j.logger.httpclient.wire.content=ERROR
  log4j.logger.org.apache.commons.httpclient=ERROR
  log4j.appender.stdout=org.apache.log4j.ConsoleAppender
  log4j.appender.stdout.Target=System.out
  log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
  
  # Print the date in ISO 8601 format
  log4j.appender.stdout.layout.ConversionPattern=%d [%t] %-5p %c - %m%n
  </code></pre>
  
  <p>But soapUI / Maven still produces debug output to the console. For example:</p>
  
  <p>09:47:44,096 DEBUG [SoapUIMultiThreadedHttpConnectionManager$SoapUIDefaultClientConnection] Sending request: PUT /template/xyz/ HTTP/1.1
  09:47:44,722 DEBUG [SoapUIMultiThreadedHttpConnectionManager$SoapUIDefaultClientConnection] Receiving response: HTTP/1.1 200 OK
  09:47:44,732 DEBUG [SoapUIMultiThreadedHttpConnectionManager$SoapUIDefaultClientConnection] Connection shut down</p>
  
  <p>I have edited the soapui-log4j.xml file to only print ERROR but that doesn't help. It could be that I have the correct edits but I don't know how to tell Maven / soapUI to use this file from my pom file in IntellIj. Any ideas on how to stop all of the console output?</p>
  
  <p>Here is my pom file:</p>
  
  <pre><code>&lt;groupId&gt;com.xyz.soapui&lt;/groupId&gt;
  &lt;artifactId&gt;apitesting&lt;/artifactId&gt;
  &lt;version&gt;1.0-SNAPSHOT&lt;/version&gt;
  &lt;packaging&gt;pom&lt;/packaging&gt;
  
  &lt;name&gt;apitesting&lt;/name&gt;
  &lt;url&gt;http://maven.apache.org&lt;/url&gt;
  
  &lt;prerequisites&gt;
      &lt;maven&gt;3.0.5&lt;/maven&gt;
  &lt;/prerequisites&gt;
  
  &lt;properties&gt;
      &lt;project.build.sourceEncoding&gt;UTF-8&lt;/project.build.sourceEncoding&gt;
  &lt;/properties&gt;
  
  &lt;dependencies&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;junit&lt;/groupId&gt;
          &lt;artifactId&gt;junit&lt;/artifactId&gt;
          &lt;version&gt;4.11&lt;/version&gt;
          &lt;scope&gt;test&lt;/scope&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;log4j&lt;/groupId&gt;
          &lt;artifactId&gt;log4j&lt;/artifactId&gt;
          &lt;version&gt;1.2.17&lt;/version&gt;
      &lt;/dependency&gt;
  &lt;/dependencies&gt;
  
  &lt;pluginRepositories&gt;
      &lt;pluginRepository&gt;
          &lt;id&gt;eviwarePluginRepository&lt;/id&gt;
          &lt;url&gt;http://www.eviware.com/repository/maven2/&lt;/url&gt;
      &lt;/pluginRepository&gt;
      &lt;pluginRepository&gt;
          &lt;id&gt;mvnPluginRepository&lt;/id&gt;
          &lt;url&gt;http://mirrors.ibiblio.org/pub/mirrors/maven/mule/dependencies/maven2/&lt;/url&gt;
      &lt;/pluginRepository&gt;
      &lt;pluginRepository&gt;
          &lt;id&gt;codehausPluginRepository&lt;/id&gt;
          &lt;url&gt;https://nexus.codehaus.org/content/groups/snapshots-group/org/codehaus/mojo/&lt;/url&gt;
      &lt;/pluginRepository&gt;
  &lt;/pluginRepositories&gt;
  
  &lt;build&gt;
      &lt;sourceDirectory&gt;src&lt;/sourceDirectory&gt;
      &lt;plugins&gt;
          &lt;plugin&gt;
              &lt;artifactId&gt;maven-compiler-plugin&lt;/artifactId&gt;
              &lt;version&gt;3.1&lt;/version&gt;
              &lt;configuration&gt;
                  &lt;source&gt;1.7&lt;/source&gt;
                  &lt;target&gt;1.7&lt;/target&gt;
              &lt;/configuration&gt;
          &lt;/plugin&gt;
          &lt;plugin&gt;
              &lt;groupId&gt;com.github.redfish4ktc.soapui&lt;/groupId&gt;
              &lt;artifactId&gt;maven-soapui-extension-plugin&lt;/artifactId&gt;
              &lt;version&gt;4.5.1.4&lt;/version&gt;
              &lt;dependencies&gt;
                  &lt;dependency&gt;
                      &lt;groupId&gt;postgresql&lt;/groupId&gt;
                      &lt;artifactId&gt;postgresql&lt;/artifactId&gt;
                      &lt;version&gt;9.1-901.jdbc4&lt;/version&gt;
                  &lt;/dependency&gt;
                  &lt;dependency&gt;
                      &lt;groupId&gt;com.jgoodies&lt;/groupId&gt;
                      &lt;artifactId&gt;looks&lt;/artifactId&gt;
                      &lt;version&gt;2.2.2&lt;/version&gt;
                  &lt;/dependency&gt;
                  &lt;dependency&gt;
                      &lt;groupId&gt;com.fifesoft&lt;/groupId&gt;
                      &lt;artifactId&gt;rsyntaxtextarea&lt;/artifactId&gt;
                      &lt;version&gt;2.0.7&lt;/version&gt;
                  &lt;/dependency&gt;
              &lt;/dependencies&gt;
              &lt;configuration&gt;
                  &lt;runnerType&gt;PRO&lt;/runnerType&gt;
                  &lt;projectFile&gt;${basedir}/src/test/resources/apitesting-soapui-project.xml&lt;/projectFile&gt;
                  &lt;outputFolder&gt;${project.build.directory}/soapui-reports&lt;/outputFolder&gt;
                  &lt;exportAll&gt;true&lt;/exportAll&gt;
                  &lt;reportFormat&gt;HTML&lt;/reportFormat&gt;
                  &lt;coverage&gt;false&lt;/coverage&gt;
                  &lt;printReport&gt;true&lt;/printReport&gt;
                  &lt;junitReport&gt;true&lt;/junitReport&gt;
                  &lt;testFailIgnore&gt;true&lt;/testFailIgnore&gt;
                  &lt;settingsFile&gt;/home/xyz/soapui-settings.xml&lt;/settingsFile&gt;
                  &lt;projectProperties&gt;
                      &lt;value&gt;pmessage=Project Property&lt;/value&gt;
                  &lt;/projectProperties&gt;
                  &lt;globalProperties&gt;
                      &lt;value&gt;gmessage=Global Property&lt;/value&gt;
                  &lt;/globalProperties&gt;
                  &lt;soapuiProperties&gt;
                      &lt;property&gt;
                          &lt;name&gt;soapui.logroot&lt;/name&gt;
                          &lt;value&gt;${project.build.directory}/soapui-logs/&lt;/value&gt;
                      &lt;/property&gt;
                  &lt;/soapuiProperties&gt;
                  &lt;inputProject/&gt;
                  &lt;outputProject/&gt;
              &lt;/configuration&gt;
          &lt;/plugin&gt;
      &lt;/plugins&gt;
  &lt;/build&gt;
  </code></pre>
  
  <p></p>
  
  <p>Thank you!</p>