summaryrefslogtreecommitdiff
path: root/test/envparsing.sh
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 /test/envparsing.sh
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 'test/envparsing.sh')
-rwxr-xr-xtest/envparsing.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/envparsing.sh b/test/envparsing.sh
index 3580e8517..688ff8d2c 100755
--- a/test/envparsing.sh
+++ b/test/envparsing.sh
@@ -98,6 +98,7 @@ EXPECT=$(cat <<"EOF"
"letsencrypt-email-address": "",
"letsencrypt-enabled": true,
"letsencrypt-port": 80,
+ "log-client-ip": false,
"log-db-queries": true,
"log-level": "info",
"media-description-max-chars": 5000,
@@ -170,6 +171,7 @@ EOF
# ensure that these are parsed without panic
OUTPUT=$(GTS_LOG_LEVEL='info' \
GTS_LOG_DB_QUERIES=true \
+GTS_LOG_CLIENT_IP=false \
GTS_APPLICATION_NAME=gts \
GTS_LANDING_PAGE_USER=admin \
GTS_HOST=example.com \