summaryrefslogtreecommitdiff
path: root/.config/docker_example.yml
diff options
context:
space:
mode:
authorHazelnoot <acomputerdog@gmail.com>2025-02-18 19:51:13 +0000
committerHazelnoot <acomputerdog@gmail.com>2025-02-18 19:51:13 +0000
commitc28b27b57f2329ab72a768bb6a1074adeb4dc2e7 (patch)
tree65be25d7ca2da4306033448d628807acf0518e74 /.config/docker_example.yml
parentmerge: Fix error message when a peertube object is rejected for bad ID / URL ... (diff)
parentdelete fetch logs when a note or user is deleted (diff)
downloadsharkey-c28b27b57f2329ab72a768bb6a1074adeb4dc2e7.tar.gz
sharkey-c28b27b57f2329ab72a768bb6a1074adeb4dc2e7.tar.bz2
sharkey-c28b27b57f2329ab72a768bb6a1074adeb4dc2e7.zip
merge: Optionally log remote ActivityPub objects to database (!833)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/833 Approved-by: dakkar <dakkar@thenautilus.net> Approved-by: Marie <github@yuugi.dev>
Diffstat (limited to '.config/docker_example.yml')
-rw-r--r--.config/docker_example.yml15
1 files changed, 15 insertions, 0 deletions
diff --git a/.config/docker_example.yml b/.config/docker_example.yml
index 1e03e902bf..2d088547ba 100644
--- a/.config/docker_example.yml
+++ b/.config/docker_example.yml
@@ -345,3 +345,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