Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitaly.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZeger-Jan van de Weg <git@zjvandeweg.nl>2019-02-27 15:21:52 +0300
committerZeger-Jan van de Weg <git@zjvandeweg.nl>2019-02-27 17:42:25 +0300
commit8bee5c8a89ff215075608ea98135ffc4305e46bd (patch)
treefcaa1f87b7e5d14655dd2161feccbc341e345ecc /config.praefect.toml.example
parent519dd1904509373c0ddfb2f33738b56c03fe4d72 (diff)
Make logging configurable
Futher a few style improvements were added, and logging is now configurable in the same way Gitaly is.
Diffstat (limited to 'config.praefect.toml.example')
-rw-r--r--config.praefect.toml.example8
1 files changed, 8 insertions, 0 deletions
diff --git a/config.praefect.toml.example b/config.praefect.toml.example
index 5b0ba08ed..f21880772 100644
--- a/config.praefect.toml.example
+++ b/config.praefect.toml.example
@@ -4,6 +4,14 @@
listen_addr = "127.0.0.1:2305"
# socket_path = "/home/git/gitlab/tmp/sockets/private/praefect.socket"
+# # You can optionally configure Praefect to output JSON-formatted log messages to stdout
+# [logging]
+# format = "json"
+# # Optional: Set log level to only log entries with that severity or above
+# # One of, in order: debug, info, warn, errror, fatal, panic
+# # Defaults to "info"
+# level = "warn"
+
# # One or more Gitaly servers need to be configured to be managed. The names
# of each server are used to link multiple nodes, or `gitaly_server`s together
# as shard. listen_addr should be unique for all nodes.