1 Reply Latest reply on Oct 24, 2016 1:57 PM by James Perkins

    Wildfly 10 :: Logging remote ip address

    Tiago Matias Newbie

      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!