summaryrefslogtreecommitdiff
path: root/example
diff options
context:
space:
mode:
authorLibravatar Daenney <daenney@users.noreply.github.com>2023-05-21 17:12:47 +0200
committerLibravatar GitHub <noreply@github.com>2023-05-21 16:12:47 +0100
commit107237c8e84c541d7f24095dcce7abaf5d973a7e (patch)
treeb8721da6c56172dad5bb290516f7a0526bbc2236 /example
parent[bugfix] Start + stop caches properly for testrig + pruning (#1804) (diff)
downloadgotosocial-107237c8e84c541d7f24095dcce7abaf5d973a7e.tar.xz
[feature] Make client IP logging configurable (#1799)
Diffstat (limited to 'example')
-rw-r--r--example/config.yaml9
1 files changed, 5 insertions, 4 deletions
diff --git a/example/config.yaml b/example/config.yaml
index 57cf5fd63..668d1729c 100644
--- a/example/config.yaml
+++ b/example/config.yaml
@@ -30,6 +30,11 @@ log-level: "info"
# Default: false
log-db-queries: false
+# Bool. Include the client IP in the emitted log lines
+# Options: [true, false]
+# Default: true
+log-client-ip: true
+
# String. Application name to use internally.
# Examples: ["My Application","gotosocial"]
# Default: "gotosocial"
@@ -766,10 +771,6 @@ syslog-address: "localhost:514"
##### OBSERVABILITY SETTINGS #####
##################################
-# Bool. Enable generation/parsing of a request ID for each received HTTP Request.
-# Default: true
-request-id-enabled: true
-
# String. Header name to use to extract a request or trace ID from. Typically set by a
# loadbalancer or proxy.
# Default: "X-Request-Id"