aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/webapp
diff options
context:
space:
mode:
authorSébastien Lesaint <sebastien.lesaint@sonarsource.com>2016-11-08 15:46:35 +0100
committerSébastien Lesaint <sebastien.lesaint@sonarsource.com>2016-11-15 13:31:49 +0100
commit305d71f14946d6fa883f1b24ca9ab2499b0cfd04 (patch)
tree75070717026ea11636e3043a68d4b26e1b9e6a3f /server/sonar-web/src/main/webapp
parentab31b7a55f57aa9d85b4bae88879c4598c2f6521 (diff)
downloadsonarqube-305d71f14946d6fa883f1b24ca9ab2499b0cfd04.tar.gz
sonarqube-305d71f14946d6fa883f1b24ca9ab2499b0cfd04.zip
SONAR-8332 add HTTP request UID to WebServer logs
Diffstat (limited to 'server/sonar-web/src/main/webapp')
-rw-r--r--server/sonar-web/src/main/webapp/WEB-INF/web.xml8
1 files changed, 8 insertions, 0 deletions
diff --git a/server/sonar-web/src/main/webapp/WEB-INF/web.xml b/server/sonar-web/src/main/webapp/WEB-INF/web.xml
index 1a8aa2dc8ad..33a2fb2bd9c 100644
--- a/server/sonar-web/src/main/webapp/WEB-INF/web.xml
+++ b/server/sonar-web/src/main/webapp/WEB-INF/web.xml
@@ -64,6 +64,10 @@
<filter-name>RoutesFilter</filter-name>
<filter-class>org.sonar.server.platform.web.RoutesFilter</filter-class>
</filter>
+ <filter>
+ <filter-name>RequestUidFilter</filter-name>
+ <filter-class>org.sonar.server.platform.web.requestid.RequestUidFilter</filter-class>
+ </filter>
<!-- order of execution is important -->
<filter-mapping>
@@ -71,6 +75,10 @@
<url-pattern>/*</url-pattern>
</filter-mapping>
<filter-mapping>
+ <filter-name>RequestUidFilter</filter-name>
+ <url-pattern>/*</url-pattern>
+ </filter-mapping>
+ <filter-mapping>
<filter-name>RoutesFilter</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>