Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
wdecoste committed Oct 16, 2017
1 parent 3df0962 commit fb81073
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions os-eap-launch/added/launch/access_log_valve.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,14 +37,9 @@ function configure() {

function configure_access_log_valve() {

EAP6_VALVE="<valve name=\"accessLog\" module=\"org.jboss.as.web\" class-name=\"org.apache.catalina.valves.AccessLogValve\">\n \
<param param-name=\"pattern\" param-value=\"%h %l %u %t %{forwarded}i \&quot;%r\&quot; %s %b\" />\n \
<param param-name=\"directory\" param-value=\"/proc/self/fd\" />\n \
<param param-name=\"rotatable\" param-value=\"false\" />\n \
<param param-name=\"prefix\" param-value=\"1\" />\n \
<param param-name=\"suffix\" param-value=\"\" />\n \
<param param-name=\"requestAttributesEnabled\" param-value=\"true\" />\n \
</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 %{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 fb81073

Please sign in to comment.