src.nth.io/

summaryrefslogtreecommitdiff
path: root/nostr/build/tasks/main.yaml
diff options
context:
space:
mode:
authorLuke Hoersten <[email protected]>2025-01-03 19:36:28 -0600
committerLuke Hoersten <[email protected]>2025-01-03 19:36:28 -0600
commitb180fe427c44da015874dbf86c326f6e6bcd0aa8 (patch)
tree69eefe573ed98667c83dce74cb659f7647985e8c /nostr/build/tasks/main.yaml
parentde5838029ed131c31f54addf155ec9b476a23ae0 (diff)
Version updates and fixed excessive logging on web server.
Diffstat (limited to 'nostr/build/tasks/main.yaml')
-rw-r--r--nostr/build/tasks/main.yaml10
1 files changed, 10 insertions, 0 deletions
diff --git a/nostr/build/tasks/main.yaml b/nostr/build/tasks/main.yaml
index 954e79c..918d8fe 100644
--- a/nostr/build/tasks/main.yaml
+++ b/nostr/build/tasks/main.yaml
@@ -40,6 +40,16 @@
- {"k": "Contact:", "v": "{{relayer_admin_contact}}"}
- {"k": "Version:", "v": "{{relayer_version}}"}
+# disable logging of pings
+- name: relayer disable ping logging
+ lineinfile:
+ path: "{{relayer_handler_src}}"
+ regexp: "^(\\s*)(s\\.Log\\.Infof\\(\"pinging.*)$"
+ line: "\\1//\\2"
+ backrefs: yes
+ loop:
+ - {""}
+
- name: check if relayer build exists
stat:
path: "{{relayer_build_dir}}/examples/whitelisted/whitelisted"