commit 9a33b576de0d2e0000a10586180fc609e259a9b0 Author: hiro hiro@torproject.org Date: Thu Nov 21 18:32:24 2019 +0100
Change gitaly log level and format --- roles/gitaly/templates/gitaly.toml.j2 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/roles/gitaly/templates/gitaly.toml.j2 b/roles/gitaly/templates/gitaly.toml.j2 index d9e7046..a06e182 100644 --- a/roles/gitaly/templates/gitaly.toml.j2 +++ b/roles/gitaly/templates/gitaly.toml.j2 @@ -29,11 +29,11 @@ path = "{{ ansible_user_dir }}/repositories"
# # You can optionally configure Gitaly to output JSON-formatted log messages to stdout [logging] -# format = "json" +format = "json" # # Additionally exceptions can be reported to Sentry # sentry_dsn = "https://<key>:<secret>@sentry.io/<project>" -level = "warn" -dir = "{{ ansible_user_dir }}/log/gitaly/" +level = "info" +dir = "{{ ansible_user_dir }}/log/gitaly"
# # You can optionally configure Gitaly to record histogram latencies on GRPC method calls # [prometheus]
tor-commits@lists.torproject.org