[tor-commits] [dip/master] Change gitaly log level and format

hiro at torproject.org hiro at torproject.org
Thu Nov 21 17:32:36 UTC 2019


commit 9a33b576de0d2e0000a10586180fc609e259a9b0
Author: hiro <hiro at 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]



More information about the tor-commits mailing list