From c7874b5770dd3497c0696c68dca187f532bd9274 Mon Sep 17 00:00:00 2001 From: Clark Boylan Date: Fri, 29 Apr 2022 10:06:54 -0700 Subject: [PATCH] Enable Gerrit httpd requestLog Because we proxy to Gerrit and set listenUrl with a proxy-http:// prefix httpd.requestLog is disabled by default. We choose to explicitly enable it here to add more logging to the Gerrit system even if this logging is slightly less useful when behind a proxy. In particular this logging will track memory utilization per request which we can use to benchmark change query memory cost between 3.4 and 3.5. Change-Id: Ia3ccf820ee0e5ca7d68bcc37da7004dea2ad7128 --- playbooks/roles/gerrit/templates/gerrit.config.j2 | 1 + 1 file changed, 1 insertion(+) diff --git a/playbooks/roles/gerrit/templates/gerrit.config.j2 b/playbooks/roles/gerrit/templates/gerrit.config.j2 index 6a1e42b2f6..ea2d955121 100644 --- a/playbooks/roles/gerrit/templates/gerrit.config.j2 +++ b/playbooks/roles/gerrit/templates/gerrit.config.j2 @@ -55,6 +55,7 @@ minThreads = 20 maxThreads = 100 maxQueued = 200 + requestLog = true [cache] directory = cache [cache "accounts"]