title: Logging remote ip address in Wildfly 10
body: <p>How can I make wildfly 10 log the request source IP Address? I'm using the default logger. My pattern is:</p>
  
  <pre><code>%d{yyyy-MM-dd HH:mm:ss,SSS} %-5p %X{IP} [%c] (%t) %s%e%n
  </code></pre>
  
  <p>I tried "%a" from some old version 7 documentation but to no avail. Also that %X{IP} doesn't work. (I got it from log4j documentation)</p>
  
  <p>Thank you.</p>