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:
authorJacob Vosmaer <jacob@gitlab.com>2017-05-10 17:57:59 +0300
committerJacob Vosmaer <jacob@gitlab.com>2017-05-10 17:57:59 +0300
commiteb5b9b3af8d2668adff3e2f9edd76396cd4b7793 (patch)
tree1443f68fc5dcd4de166c01286a1d61bd86bb2aa1
parentf1424a9e6691c5ed7803bd65b50cf93d01e02f54 (diff)
Document GITALY_DEBUG
-rw-r--r--CHANGELOG.md5
-rw-r--r--doc/configuration/README.md16
2 files changed, 15 insertions, 6 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 5908c8684..6046d973b 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,10 @@
# Gitaly changelog
+UNRELEASED
+
+- Hide chatty logs behind GITALY_DEBUG=1. Log access times.
+ https://gitlab.com/gitlab-org/gitaly/merge_requests/149
+
v0.10.0
- CommitDiff: Parse a typechange diff correctly
diff --git a/doc/configuration/README.md b/doc/configuration/README.md
index 7a44a3e15..e656f0665 100644
--- a/doc/configuration/README.md
+++ b/doc/configuration/README.md
@@ -57,14 +57,16 @@ match those in gitlab.yml.
|path|string|yes|Path to storage shard|
|name|string|yes|Name of storage shard|
-## Legacy environment variables
+## Environment variables
-These were used to configure earlier version of Gitaly. When present,
-they take precendence over the configuration file.
+### GITALY_DEBUG
+
+When set to `1`, Gitaly will print debug log messages.
### GITALY_SOCKET_PATH
-Required unless GITALY_LISTEN_ADDR is set.
+Required unless GITALY_LISTEN_ADDR is set. Overrides `socket_path` in
+config.toml. Deprecated; use config.toml.
A path at which Gitaly should open a Unix socket. Example value:
@@ -74,7 +76,8 @@ GITALY_SOCKET_PATH=/home/git/gitlab/tmp/sockets/private/gitaly.socket
### GITALY_LISTEN_ADDR
-Required unless GITALY_SOCKET_PATH is set.
+Required unless GITALY_SOCKET_PATH is set. Overrides `listen_addr` in
+config.toml. Deprecated; use config.toml.
TCP address for Gitaly to listen on. Note: at the moment Gitaly does
not offer any form of authentication. When you use a TCP listener you
@@ -89,7 +92,8 @@ GITALY_LISTEN_ADDR=localhost:1234
### GITALY_PROMETHEUS_LISTEN_ADDR
-Optional.
+Optional. Overrides `prometheus_listen_addr` in config.toml.
+Deprecated; use config.toml.
TCP listen address for Prometheus metrics. When missing or empty, no
Prometheus listener is started.