mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-10-29 04:42:25 -05:00
[feature] Make client IP logging configurable (#1799)
This commit is contained in:
parent
68e54cbaa4
commit
107237c8e8
9 changed files with 40 additions and 12 deletions
|
|
@ -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 \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue