Description of problem: The JBossWeb AccessLogValve only logs the first occurrence of a request header. This can hide desired or expected values from being logged. Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: 1. Set up access logging to include an incoming header <access-log pattern="%h %l %u %A %v %t %r %s %b %{X-Forwarded-For}i"/> 2. Attempt a request with multiple header occurrences and note the logged results: curl -H "X-Forwarded-For: 127.0.0.2" -H "X-Forwarded-For: 127.0.0.3" localhost:8080/app Actual results: Only first occurrence of a request header is logged Expected results: All occurrences of a request header are logged Additional info: Similar to the following issue in Tomcat: http://svn.apache.org/viewvc?view=revision&revision=1088460
Regression tests passed Verified with EAP 6.4.20.CP.CR1