What exactly are you trying to do?
Run server behind proxy and need to process x-forwarded-for headers?
I consists LB with Jboss.
I only be using application jboss
i want to show 5xx error or 4xx error in jboss.
my domain.xml below that the access log pattern
<access-log pattern="%a %t %H %p %U %s %S %T" rotate="true">