4 Replies Latest reply on Feb 5, 2018 12:08 PM by jamezp

    Wildfly 10 :: Logging remote ip address

    tiago.matias

      Hello,

       

      How can I make wildfly 10 log the request source IP Address? I'm using the default logger. My pattern is:

       

      %d{yyyy-MM-dd HH:mm:ss,SSS} %-5p %X{IP} [%c] (%t) %s%e%n

       

      I tried "%a" from some old version 7 documentation but to no avail. Also that %X{IP} doesn't work.

       

      Thank you for your help!