From 107237c8e84c541d7f24095dcce7abaf5d973a7e Mon Sep 17 00:00:00 2001 From: Daenney Date: Sun, 21 May 2023 17:12:47 +0200 Subject: [feature] Make client IP logging configurable (#1799) --- example/config.yaml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'example') 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" -- cgit v1.2.3