Browse Source

SONAR-20855 uploading logs on failure on cirrus

tags/10.3.0.82913
lukasz-jarocki-sonarsource 7 months ago
parent
commit
08161eb265

+ 2
- 0
.cirrus.yml View File

path: "**/build/reports/**/*" path: "**/build/reports/**/*"
screenshots_artifacts: screenshots_artifacts:
path: "**/build/screenshots/**/*" path: "**/build/screenshots/**/*"
log_artifacts:
path: "**/build/**/*.log"
always: always:
profile_artifacts: profile_artifacts:
path: "**/build/reports/profile/**/*" path: "**/build/reports/profile/**/*"

+ 1
- 1
server/sonar-webserver/src/main/java/org/sonar/server/app/TomcatAccessLog.java View File



private static final String PROPERTY_ENABLE = "sonar.web.accessLogs.enable"; private static final String PROPERTY_ENABLE = "sonar.web.accessLogs.enable";
private static final String PROPERTY_PATTERN = "sonar.web.accessLogs.pattern"; private static final String PROPERTY_PATTERN = "sonar.web.accessLogs.pattern";
private static final String DEFAULT_SQ_ACCESS_LOG_PATTERN = "%h %l %u [%t] \"%r\" %s %b \"%i{Referer}\" \"%i{User-Agent}\" \"%reqAttribute{ID}\"";
private static final String DEFAULT_SQ_ACCESS_LOG_PATTERN = "%h %l %u [%t] \"%r\" %s %b \"%i{Referer}\" \"%i{User-Agent}\" \"%reqAttribute{ID}\" %D";


void configure(Tomcat tomcat, Props props) { void configure(Tomcat tomcat, Props props) {
tomcat.setSilent(true); tomcat.setSilent(true);

Loading…
Cancel
Save