summaryrefslogtreecommitdiff
path: root/.config/example.yml
diff options
context:
space:
mode:
authorHazelnoot <acomputerdog@gmail.com>2024-11-14 12:11:37 -0500
committerHazelnoot <acomputerdog@gmail.com>2025-02-16 19:25:02 -0500
commitb65b4ecadcd364adeede80f71a2f106671fb434f (patch)
tree3eb2446c9caeef850444cccc0c905823b66cf039 /.config/example.yml
parentmerge: Merge upstream 2025.2.0 (!886) (diff)
downloadsharkey-b65b4ecadcd364adeede80f71a2f106671fb434f.tar.gz
sharkey-b65b4ecadcd364adeede80f71a2f106671fb434f.tar.bz2
sharkey-b65b4ecadcd364adeede80f71a2f106671fb434f.zip
add inbound activity logger for debugging
Diffstat (limited to '.config/example.yml')
-rw-r--r--.config/example.yml15
1 files changed, 15 insertions, 0 deletions
diff --git a/.config/example.yml b/.config/example.yml
index 7d4cd0c659..7bca8642be 100644
--- a/.config/example.yml
+++ b/.config/example.yml
@@ -383,3 +383,18 @@ checkActivityPubGetSignature: false
# # Disable query truncation. If set to true, the full text of the query will be output to the log.
# # default: false
# disableQueryTruncation: false
+
+# Settings for the activity logger, which records inbound activities to the database.
+# Disabled by default due to the large volume of data it saves.
+#activityLogging:
+ # Log activities to the database (default: false)
+ #enabled: false
+
+ # Save the activity before processing, then update later with the results.
+ # This has the advantage of capturing activities that cause a hard-crash, but doubles the number of queries used.
+ # Default: false
+ #preSave: false
+
+ # How long to save each log entry before deleting it.
+ # Default: 2592000000 (1 week)
+ #maxAge: 2592000000