summaryrefslogtreecommitdiff
path: root/example
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 /example
parent[documentation] add screenshots to docs (#459) (diff)
downloadgotosocial-094f032f747b96733982108f2e184df88d9b25ae.tar.xz
[feature] Add log-db-queries config option (#465)
Diffstat (limited to 'example')
-rw-r--r--example/config.yaml7
1 files changed, 7 insertions, 0 deletions
diff --git a/example/config.yaml b/example/config.yaml
index be3f1c5e5..1a8eb8939 100644
--- a/example/config.yaml
+++ b/example/config.yaml
@@ -23,6 +23,13 @@
# 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"