This content has been marked as final.
Show 1 reply
-
1. Re: Is it possible to get request header information into JBoss logging
jamezp May 12, 2015 5:25 PM (in response to nguyena1)Access logging isn't controlled by the logging subsystem so there's nothing you can put in the pattern to see the host name. There may be a way to set the value using org.jboss.logging.MDC, but I'm not sure what the best way to handle that would be.
If you want access logging have a look at Fetching Client IP Address and Header information in JBoss AS7 access log « JBoss.
--
James R. Perkins