title: Logging Configuration Apache HttpClient 5 on WIldfly
body: <p>Having trouble turning off DEBUG logging for apache httpclient 5 on wildfly 10.1.  So far, I've done the following:</p>
  
  <ol>
  <li><p>standalone.xml, under</p>
  
  <p>
  
      
  
  
      
  </p></li>
  <li><p>logging.properties - documentation states that this only takes effect when wildfly is starting, so I didn't expect this to work:</p>
  
  <p>logger.org.apache.http.level=ERROR
  logger.org.apache.http.wire.level=ERROR</p></li>
  <li><p>added java vm arguments:</p>
  
  <p>-org.apache.commons.logging.Log=org.apache.commons.logging.impl.SimpleLog 
  -Dorg.apache.commons.logging.simplelog.showdatetime=true 
  -Dorg.apache.commons.logging.simplelog.log.org.apache.http=WARN 
  -Dorg.apache.commons.logging.simplelog.log.org.apache.http.wire=WARN </p></li>
  <li><p>Tried it via code:</p>
  
  <p>System.setProperty("org.apache.commons.logging.Log","org.apache.commons.logging.impl.SimpleLog");
  System.setProperty("org.apache.commons.logging.simplelog.defaultlog","error");
  System.setProperty("org.apache.commons.logging.simplelog.log.org.apache.http","error");
  System.setProperty("org.apache.commons.logging.simplelog.log.org.apache.http.wire","error");
  client = HttpClientBuilder.create().build();</p></li>
  </ol>
  
  <p>No luck, on any of these.  </p>
  
  <p>Thanks in advance.</p>