summaryrefslogtreecommitdiff
path: root/.config
diff options
context:
space:
mode:
authorおさむのひと <46447427+samunohito@users.noreply.github.com>2025-01-14 19:37:41 +0900
committerGitHub <noreply@github.com>2025-01-14 10:37:41 +0000
commit759b9f4cf133dfa6b06c6fcebf22aefc017363bd (patch)
tree07582981f73a80872458906d22de9e7905bcd838 /.config
parentfix: unable to use AiService on arm64 (#15261) (diff)
downloadsharkey-759b9f4cf133dfa6b06c6fcebf22aefc017363bd.tar.gz
sharkey-759b9f4cf133dfa6b06c6fcebf22aefc017363bd.tar.bz2
sharkey-759b9f4cf133dfa6b06c6fcebf22aefc017363bd.zip
feat(backend): config(default.yml)からSQLログ全文を出力するか否かを設定可能に (#15268)
* feature(backend): config(default.yml)からSQLログ全文を出力するか否かを設定可能に * disableHighlightやめる * refactor
Diffstat (limited to '.config')
-rw-r--r--.config/docker_example.yml10
-rw-r--r--.config/example.yml10
2 files changed, 20 insertions, 0 deletions
diff --git a/.config/docker_example.yml b/.config/docker_example.yml
index 3f8e5734ce..0f5ba9696d 100644
--- a/.config/docker_example.yml
+++ b/.config/docker_example.yml
@@ -219,3 +219,13 @@ signToActivityPubGet: true
# Upload or download file size limits (bytes)
#maxFileSize: 262144000
+
+# Log settings
+# logging:
+# sql:
+# # Outputs query parameters during SQL execution to the log.
+# # default: false
+# enableQueryParamLogging: false
+# # Disable query truncation. If set to true, the full text of the query will be output to the log.
+# # default: false
+# disableQueryTruncation: false
diff --git a/.config/example.yml b/.config/example.yml
index 60a6a0aa71..ea29cedd10 100644
--- a/.config/example.yml
+++ b/.config/example.yml
@@ -321,3 +321,13 @@ signToActivityPubGet: true
# PID File of master process
#pidFile: /tmp/misskey.pid
+
+# Log settings
+# logging:
+# sql:
+# # Outputs query parameters during SQL execution to the log.
+# # default: false
+# enableQueryParamLogging: false
+# # Disable query truncation. If set to true, the full text of the query will be output to the log.
+# # default: false
+# disableQueryTruncation: false