summaryrefslogtreecommitdiff
path: root/docs/configuration
diff options
context:
space:
mode:
authorLibravatar tobi <31960611+tsmethurst@users.noreply.github.com>2022-04-18 16:47:11 +0200
committerLibravatar GitHub <noreply@github.com>2022-04-18 16:47:11 +0200
commit094f032f747b96733982108f2e184df88d9b25ae (patch)
treea36209e2ca052cae14a88c0a4adce61702766d90 /docs/configuration
parent[documentation] add screenshots to docs (#459) (diff)
downloadgotosocial-094f032f747b96733982108f2e184df88d9b25ae.tar.xz
[feature] Add log-db-queries config option (#465)
Diffstat (limited to 'docs/configuration')
-rw-r--r--docs/configuration/general.md7
1 files changed, 7 insertions, 0 deletions
diff --git a/docs/configuration/general.md b/docs/configuration/general.md
index 5e23d4699..df53e42c2 100644
--- a/docs/configuration/general.md
+++ b/docs/configuration/general.md
@@ -16,6 +16,13 @@ The only things you *really* need to set here are `host`, which should be the ho
# Default: "info"
log-level: "info"
+# Bool. Log database queries when log-level is set to debug or trace.
+# This setting produces verbose logs, so it's better to only enable it
+# when you're trying to track an issue down.
+# Options: [true, false]
+# Default: false
+log-db-queries: false
+
# String. Application name to use internally.
# Examples: ["My Application","gotosocial"]
# Default: "gotosocial"