diff options
author | Sébastien Lesaint <sebastien.lesaint@sonarsource.com> | 2016-11-17 15:57:24 +0100 |
---|---|---|
committer | Sébastien Lesaint <sebastien.lesaint@sonarsource.com> | 2016-11-17 17:59:44 +0100 |
commit | 8f706d3cafcb4e676a5a5d682e3ed78518a8a387 (patch) | |
tree | c2a320d1d40368a364b18fbd6691ce464e3b1d59 /sonar-application | |
parent | a96c95487b97c7b3cf3161574f85163402bf584a (diff) | |
download | sonarqube-8f706d3cafcb4e676a5a5d682e3ed78518a8a387.tar.gz sonarqube-8f706d3cafcb4e676a5a5d682e3ed78518a8a387.zip |
SONAR-8332 change default access log pattern to include SQ's HTTP request ID
Diffstat (limited to 'sonar-application')
-rw-r--r-- | sonar-application/src/main/assembly/conf/sonar.properties | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sonar-application/src/main/assembly/conf/sonar.properties b/sonar-application/src/main/assembly/conf/sonar.properties index a1f0194ba0e..27b487638c8 100644 --- a/sonar-application/src/main/assembly/conf/sonar.properties +++ b/sonar-application/src/main/assembly/conf/sonar.properties @@ -289,9 +289,9 @@ # The value displayed for anonymous users is "-". # The SonarQube's HTTP request ID can be added to the pattern with "%reqAttribute{ID}" (since version 6.2). # If SonarQube is behind a reverse proxy, then the following value allows to display the correct remote IP address: -#sonar.web.accessLogs.pattern=%i{X-Forwarded-For} %l %u [%t] "%r" %s %b "%i{Referer}" "%i{User-Agent}" -# Default value is: -#sonar.web.accessLogs.pattern=combined +#sonar.web.accessLogs.pattern=%i{X-Forwarded-For} %l %u [%t] "%r" %s %b "%i{Referer}" "%i{User-Agent}" "%reqAttribute{ID}" +# Default value (which was "combined" before version 6.2) is equivalent to "combined + SQ HTTP request ID": +#sonar.web.accessLogs.pattern=%h %l %u [%t] "%r" %s %b "%i{Referer}" "%i{User-Agent}" "%reqAttribute{ID}" #-------------------------------------------------------------------------------------------------- # AUTHENTICATION |