summaryrefslogtreecommitdiff
path: root/.config
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
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')
-rw-r--r--.config/ci.yml23
-rw-r--r--.config/cypress-devcontainer.yml15
-rw-r--r--.config/docker_example.yml15
-rw-r--r--.config/example.yml15
4 files changed, 59 insertions, 9 deletions
diff --git a/.config/ci.yml b/.config/ci.yml
index 311a98d8fb..790c4704fa 100644
--- a/.config/ci.yml
+++ b/.config/ci.yml
@@ -263,12 +263,17 @@ checkActivityPubGetSignature: false
# # default: false
# disableQueryTruncation: false
-# 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
+# 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
diff --git a/.config/cypress-devcontainer.yml b/.config/cypress-devcontainer.yml
index 391bc9998c..9a6f9769e6 100644
--- a/.config/cypress-devcontainer.yml
+++ b/.config/cypress-devcontainer.yml
@@ -272,3 +272,18 @@ allowedPrivateNetworks: [
# # 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
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
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