Skip to content

Commit

Permalink
CLOUD-2049 Improved AccessLogValve
Browse files Browse the repository at this point in the history
  • Loading branch information
wdecoste committed Oct 16, 2017
1 parent 98d343c commit ff17c5b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions os-eap-launch/added/launch/access_log_valve.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,9 @@ function configure() {
}

function configure_access_log_valve() {
EAP6_VALVE="<valve name=\"accessLog\" module=\"org.jboss.openshift\" class-name=\"org.jboss.openshift.valves.StdoutAccessLogValve\">\n \
<param param-name=\"pattern\" param-value=\"%h %l %u %t %{X-Forwarded-Host}i \&quot;%r\&quot; %s %b\" />\n \

EAP6_VALVE="<valve name=\"accessLog\" module=\"org.jboss.openshift\" class-name=\"org.jboss.openshift.valves.StdoutAccessLogValve\">\n \
<param param-name=\"pattern\" param-value=\"%h %l %u %t %{forwarded}i \&quot;%r\&quot; %s %b\" />\n \
</valve>"

EAP7x_VALVE="<access-log use-server-log=\"true\" pattern=\"%h %l %u %t %{i,X-Forwarded-Host} \&quot;%r\&quot; %s %b\"/>"
Expand Down

0 comments on commit ff17c5b

Please sign in to comment.